projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update README.md for supported kernel
[lttng-modules.git]
/
wrapper
/
trace-clock.h
diff --git
a/wrapper/trace-clock.h
b/wrapper/trace-clock.h
index df03c0fc46d047f54cfebf4b99a4a892c45ced9d..28ee90ebf0434aa0fb3015c4f8c42d833a4a0b98 100644
(file)
--- a/
wrapper/trace-clock.h
+++ b/
wrapper/trace-clock.h
@@
-25,9
+25,7
@@
#include <asm/local.h>
#include <lttng-kernel-version.h>
#include <lttng-clock.h>
#include <asm/local.h>
#include <lttng-kernel-version.h>
#include <lttng-clock.h>
-#include <wrapper/compiler.h>
-#include <wrapper/random.h>
-#include <blacklist/timekeeping.h>
+#include <linux/random.h>
extern struct lttng_trace_clock *lttng_trace_clock;
extern struct lttng_trace_clock *lttng_trace_clock;
@@
-113,7
+111,11
@@
static inline u64 trace_clock_freq_monotonic(void)
static inline int trace_clock_uuid_monotonic(char *uuid)
{
static inline int trace_clock_uuid_monotonic(char *uuid)
{
- return wrapper_get_bootid(uuid);
+ unsigned char *boot_id;
+
+ boot_id = get_kernel_boot_id();
+ sprintf(uuid, "%pU", boot_id);
+ return 0;
}
static inline const char *trace_clock_name_monotonic(void)
}
static inline const char *trace_clock_name_monotonic(void)
This page took
0.023546 seconds
and
4
git commands to generate.