projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: uuid: Decouple guid_t and uuid_le types and respective macros (v6.3)
[lttng-modules.git]
/
include
/
instrumentation
/
events
/
power.h
diff --git
a/include/instrumentation/events/power.h
b/include/instrumentation/events/power.h
index dd03d60a1bdc2c98c082b1e1df94ba258fd559cd..0feb312dfc36513cae1eef15148e10ef7601b5d6 100644
(file)
--- a/
include/instrumentation/events/power.h
+++ b/
include/instrumentation/events/power.h
@@
-7,7
+7,7
@@
#include <lttng/tracepoint-event.h>
#include <linux/ktime.h>
#include <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,6
@@
LTTNG_TRACEPOINT_EVENT_MAP(machine_suspend,
)
)
)
)
-#if (LINUX_VERSION_CODE >= 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),
@@
-89,7
+88,6
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(power_wakeup_source, wakeup_source_deactivat
TP_ARGS(name, state)
)
TP_ARGS(name, state)
)
-#endif
#ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED
#ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED
@@
-160,10
+158,8
@@
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 (LINUX_VERSION_CODE >= 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) {};
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_frequency(u64 type, u64 state, u64 cpuid) {};
#endif /* _PWR_EVENT_AVOID_DOUBLE_DEFINING_DEPRECATED */
static inline void trace_power_frequency(u64 type, u64 state, u64 cpuid) {};
#endif /* _PWR_EVENT_AVOID_DOUBLE_DEFINING_DEPRECATED */
This page took
0.023784 seconds
and
4
git commands to generate.