projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace kernel version macros
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
power.h
diff --git
a/instrumentation/events/lttng-module/power.h
b/instrumentation/events/lttng-module/power.h
index fee6f5f8bb4eb583956c7f0ce9fe72d681fadd7f..1172fd7365f7e1d99b93ea003126614a88d57de4 100644
(file)
--- a/
instrumentation/events/lttng-module/power.h
+++ b/
instrumentation/events/lttng-module/power.h
@@
-7,7
+7,7
@@
#include <probes/lttng-tracepoint-event.h>
#include <linux/ktime.h>
#include <probes/lttng-tracepoint-event.h>
#include <linux/ktime.h>
-#include <l
inux/
version.h>
+#include <l
ttng-kernel-
version.h>
LTTNG_TRACEPOINT_EVENT_CLASS(power_cpu,
LTTNG_TRACEPOINT_EVENT_CLASS(power_cpu,
@@
-59,7
+59,7
@@
LTTNG_TRACEPOINT_EVENT_MAP(machine_suspend,
)
)
)
)
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,5,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,5,0))
LTTNG_TRACEPOINT_EVENT_CLASS(power_wakeup_source,
TP_PROTO(const char *name, unsigned int state),
LTTNG_TRACEPOINT_EVENT_CLASS(power_wakeup_source,
TP_PROTO(const char *name, unsigned int state),
@@
-160,7
+160,7
@@
enum {
events get removed */
static inline void trace_power_start(u64 type, u64 state, u64 cpuid) {};
static inline void trace_power_end(u64 cpuid) {};
events get removed */
static inline void trace_power_start(u64 type, u64 state, u64 cpuid) {};
static inline void trace_power_end(u64 cpuid) {};
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,4,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,4,0))
static inline void trace_power_start_rcuidle(u64 type, u64 state, u64 cpuid) {};
static inline void trace_power_end_rcuidle(u64 cpuid) {};
#endif
static inline void trace_power_start_rcuidle(u64 type, u64 state, u64 cpuid) {};
static inline void trace_power_end_rcuidle(u64 cpuid) {};
#endif
This page took
0.024144 seconds
and
4
git commands to generate.