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]
/
include
/
instrumentation
/
events
/
printk.h
diff --git
a/include/instrumentation/events/printk.h
b/include/instrumentation/events/printk.h
index 75b4ee9239c66fd6f9465197ac238302821ea7e8..4e904b6f4b2495b7bdafdb7a7a5950fc6391d657 100644
(file)
--- a/
include/instrumentation/events/printk.h
+++ b/
include/instrumentation/events/printk.h
@@
-6,9
+6,9
@@
#define LTTNG_TRACE_PRINTK_H
#include <lttng/tracepoint-event.h>
#define LTTNG_TRACE_PRINTK_H
#include <lttng/tracepoint-event.h>
-#include <l
inux/
version.h>
+#include <l
ttng/kernel-
version.h>
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,10,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,10,0))
LTTNG_TRACEPOINT_EVENT_MAP(console,
LTTNG_TRACEPOINT_EVENT_MAP(console,
@@
-23,7
+23,7
@@
LTTNG_TRACEPOINT_EVENT_MAP(console,
)
)
)
)
-#elif (L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,5,0))
+#elif (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,5,0))
LTTNG_TRACEPOINT_EVENT_MAP(console,
LTTNG_TRACEPOINT_EVENT_MAP(console,
@@
-40,7
+40,7
@@
LTTNG_TRACEPOINT_EVENT_MAP(console,
)
)
)
)
-#else /* (L
INUX_VERSION_CODE <
KERNEL_VERSION(3,5,0)) */
+#else /* (L
TTNG_LINUX_VERSION_CODE < LTTNG_
KERNEL_VERSION(3,5,0)) */
LTTNG_TRACEPOINT_EVENT_MAP(console,
LTTNG_TRACEPOINT_EVENT_MAP(console,
This page took
0.023882 seconds
and
4
git commands to generate.