X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-clock.h;h=58ff8b9d01da2a032225689ad10c3f8e34053eff;hp=c2e0cbcc394a9708f16801802761169e8cd0ea6d;hb=389fbf04b41e2002be44a1e3392bfade2f1deeef;hpb=d05d6fe165c27f077445d1c213becd077173adab diff --git a/src/bin/lttng-sessiond/ust-clock.h b/src/bin/lttng-sessiond/ust-clock.h index c2e0cbcc3..58ff8b9d0 100644 --- a/src/bin/lttng-sessiond/ust-clock.h +++ b/src/bin/lttng-sessiond/ust-clock.h @@ -20,7 +20,7 @@ #ifndef _UST_CLOCK_H #define _UST_CLOCK_H -#include +#include #include #include #include @@ -57,7 +57,7 @@ uint64_t trace_clock_read64_monotonic(void) { struct timespec ts; - if (clock_gettime(CLOCK_MONOTONIC, &ts)) { + if (lttng_clock_gettime(CLOCK_MONOTONIC, &ts)) { /* TODO Report error cleanly up the chain. */ PERROR("clock_gettime CLOCK_MONOTONIC"); ts.tv_sec = 0;