X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Ftrace-clock.h;h=28ee90ebf0434aa0fb3015c4f8c42d833a4a0b98;hb=84bbd9eadd688868296ee22e296dde9426924303;hp=5b44db2fd5477a1b835ff32e4a2bb048434431fa;hpb=1d830a69689518a0561213f8d8c042d444e209fc;p=lttng-modules.git diff --git a/wrapper/trace-clock.h b/wrapper/trace-clock.h index 5b44db2f..28ee90eb 100644 --- a/wrapper/trace-clock.h +++ b/wrapper/trace-clock.h @@ -25,7 +25,7 @@ #include #include #include -#include +#include extern struct lttng_trace_clock *lttng_trace_clock; @@ -111,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)