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
/
net.h
diff --git
a/include/instrumentation/events/net.h
b/include/instrumentation/events/net.h
index c2d8c67be0cd2779259af44df300dfc85b3e0bfe..6fbe86f86b581ab3067eeeab61a9d2025495138d 100644
(file)
--- a/
include/instrumentation/events/net.h
+++ b/
include/instrumentation/events/net.h
@@
-13,7
+13,7
@@
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/icmp.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/icmp.h>
-#include <l
inux/
version.h>
+#include <l
ttng/kernel-
version.h>
#include <lttng/endian.h>
#include <net/sock.h>
#include <lttng/endian.h>
#include <net/sock.h>
@@
-697,7
+697,7
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_template,
TP_ARGS(skb)
)
TP_ARGS(skb)
)
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,14,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,14,0))
/* Trace events for the receive entry points */
LTTNG_TRACEPOINT_EVENT_CLASS(net_dev_receive_entry_template,
/* Trace events for the receive entry points */
LTTNG_TRACEPOINT_EVENT_CLASS(net_dev_receive_entry_template,
@@
-768,7
+768,7
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template,
#endif /* kernel > 3.14 */
#endif /* kernel > 3.14 */
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,19,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,19,0))
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template,
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template,
@@
-783,7
+783,7
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template,
#endif /* kernel > 4.19 */
#endif /* kernel > 4.19 */
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(5,0,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(5,0,0))
/* Trace events for the receive exit points */
LTTNG_TRACEPOINT_EVENT_CLASS(net_dev_receive_exit_template,
/* Trace events for the receive exit points */
LTTNG_TRACEPOINT_EVENT_CLASS(net_dev_receive_exit_template,
This page took
0.02463 seconds
and
4
git commands to generate.