projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrapper: remove percpu-defs.h wrapper
[lttng-modules.git]
/
wrapper
/
trace-clock.h
diff --git
a/wrapper/trace-clock.h
b/wrapper/trace-clock.h
index a08c6a8b65345d20918ca604eec29bdfe767760a..c51f8d3cf3652708dac979ad801b66ffc42683d0 100644
(file)
--- a/
wrapper/trace-clock.h
+++ b/
wrapper/trace-clock.h
@@
-21,11
+21,11
@@
#include <linux/hrtimer.h>
#include <linux/percpu.h>
#include <linux/version.h>
#include <linux/hrtimer.h>
#include <linux/percpu.h>
#include <linux/version.h>
+#include <linux/percpu-defs.h>
#include <asm/local.h>
#include <lttng-kernel-version.h>
#include <lttng-clock.h>
#include <wrapper/compiler.h>
#include <asm/local.h>
#include <lttng-kernel-version.h>
#include <lttng-clock.h>
#include <wrapper/compiler.h>
-#include <wrapper/percpu-defs.h>
#include <wrapper/random.h>
#include <blacklist/timekeeping.h>
#include <wrapper/random.h>
#include <blacklist/timekeeping.h>
@@
-71,7
+71,7
@@
static inline u64 trace_clock_monotonic_wrapper(void)
/* Use fast nmi-safe monotonic clock provided by the Linux kernel. */
preempt_disable();
/* Use fast nmi-safe monotonic clock provided by the Linux kernel. */
preempt_disable();
- last_tsc_ptr =
lttng_
this_cpu_ptr(<tng_last_tsc);
+ last_tsc_ptr = this_cpu_ptr(<tng_last_tsc);
last = *last_tsc_ptr;
/*
* Read "last" before "now". It is not strictly required, but it ensures
last = *last_tsc_ptr;
/*
* Read "last" before "now". It is not strictly required, but it ensures
This page took
0.023156 seconds
and
4
git commands to generate.