"Fossies" - the Fresh Open Source Software Archive

Member "lttng-modules-2.11.0-rc5/wrapper/random.h" (11 Jun 2019, 537 Bytes) of package /linux/misc/lttng-modules-2.11.0-rc5.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "random.h" see the Fossies "Dox" file reference documentation.

    1 /* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
    2  *
    3  * wrapper/random.h
    4  *
    5  * wrapper around bootid read. Using KALLSYMS to get its address when
    6  * available, else we need to have a kernel that exports this function to GPL
    7  * modules.
    8  *
    9  * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
   10  */
   11 
   12 #ifndef _LTTNG_WRAPPER_RANDOM_H
   13 #define _LTTNG_WRAPPER_RANDOM_H
   14 
   15 #include <lttng-clock.h>
   16 
   17 #define BOOT_ID_LEN LTTNG_MODULES_UUID_STR_LEN
   18 
   19 int wrapper_get_bootid(char *bootid);
   20 
   21 #endif /* _LTTNG_WRAPPER_RANDOM_H */