projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate a UUID on lttng-sessiond launch
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-clock.h
diff --git
a/src/bin/lttng-sessiond/ust-clock.h
b/src/bin/lttng-sessiond/ust-clock.h
index c2e0cbcc394a9708f16801802761169e8cd0ea6d..58ff8b9d01da2a032225689ad10c3f8e34053eff 100644
(file)
--- 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
#ifndef _UST_CLOCK_H
#define _UST_CLOCK_H
-#include <time.h>
+#include <
common/compat/
time.h>
#include <sys/time.h>
#include <stdint.h>
#include <stddef.h>
#include <sys/time.h>
#include <stdint.h>
#include <stddef.h>
@@
-57,7
+57,7
@@
uint64_t trace_clock_read64_monotonic(void)
{
struct timespec ts;
{
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;
/* TODO Report error cleanly up the chain. */
PERROR("clock_gettime CLOCK_MONOTONIC");
ts.tv_sec = 0;
This page took
0.026046 seconds
and
4
git commands to generate.