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
/
skb.h
diff --git
a/instrumentation/events/lttng-module/skb.h
b/instrumentation/events/lttng-module/skb.h
index 77e1823a09129282e863aa98b6a58d20b90661a0..bca4ff34c39966506473d0be835ba9ab4af43443 100644
(file)
--- a/
instrumentation/events/lttng-module/skb.h
+++ b/
instrumentation/events/lttng-module/skb.h
@@
-1,3
+1,4
@@
+/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM skb
#undef TRACE_SYSTEM
#define TRACE_SYSTEM skb
@@
-7,7
+8,7
@@
#include <probes/lttng-tracepoint-event.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <probes/lttng-tracepoint-event.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
-#include <l
inux/
version.h>
+#include <l
ttng-kernel-
version.h>
/*
* Tracepoint for free an sk_buff:
/*
* Tracepoint for free an sk_buff:
@@
-27,7
+28,7
@@
LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb,
)
)
)
)
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(2,6,37))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(2,6,37))
LTTNG_TRACEPOINT_EVENT_MAP(consume_skb,
skb_consume,
LTTNG_TRACEPOINT_EVENT_MAP(consume_skb,
skb_consume,
@@
-42,7
+43,7
@@
LTTNG_TRACEPOINT_EVENT_MAP(consume_skb,
)
#endif
)
#endif
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(2,6,32))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(2,6,32))
LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec,
TP_PROTO(const struct sk_buff *skb, int len),
LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec,
TP_PROTO(const struct sk_buff *skb, int len),
This page took
0.022923 seconds
and
4
git commands to generate.