X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Ftrace-clock.h;h=28ee90ebf0434aa0fb3015c4f8c42d833a4a0b98;hb=369708f464bedc0682151df9308cebfa14dbdb2b;hp=df03c0fc46d047f54cfebf4b99a4a892c45ced9d;hpb=d0c04533db6a88feabd789f198e04f4964d00888;p=lttng-modules.git diff --git a/wrapper/trace-clock.h b/wrapper/trace-clock.h index df03c0fc..28ee90eb 100644 --- a/wrapper/trace-clock.h +++ b/wrapper/trace-clock.h @@ -25,9 +25,7 @@ #include #include #include -#include -#include -#include +#include 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) { - 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)