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 2079580aa0977a60e020e48461f4dbe6bffa9f71..bca4ff34c39966506473d0be835ba9ab4af43443 100644
(file)
--- a/
instrumentation/events/lttng-module/skb.h
+++ b/
instrumentation/events/lttng-module/skb.h
@@
-1,13
+1,14
@@
+/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM skb
#if !defined(LTTNG_TRACE_SKB_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_SKB_H
#undef TRACE_SYSTEM
#define TRACE_SYSTEM skb
#if !defined(LTTNG_TRACE_SKB_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_SKB_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#include <linux/skbuff.h>
#include <linux/netdevice.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:
@@
-21,13
+22,13
@@
LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb,
TP_ARGS(skb, location),
TP_FIELDS(
TP_ARGS(skb, location),
TP_FIELDS(
- ctf_integer(void *, skbaddr, skb)
- ctf_integer(void *, location, location)
+ ctf_integer
_hex
(void *, skbaddr, skb)
+ ctf_integer
_hex
(void *, location, location)
ctf_integer_network(unsigned short, protocol, skb->protocol)
)
)
ctf_integer_network(unsigned short, protocol, skb->protocol)
)
)
-#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,
@@
-37,12
+38,12
@@
LTTNG_TRACEPOINT_EVENT_MAP(consume_skb,
TP_ARGS(skb),
TP_FIELDS(
TP_ARGS(skb),
TP_FIELDS(
- ctf_integer(void *, skbaddr, skb)
+ ctf_integer
_hex
(void *, skbaddr, 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),
@@
-50,7
+51,7
@@
LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec,
TP_ARGS(skb, len),
TP_FIELDS(
TP_ARGS(skb, len),
TP_FIELDS(
- ctf_integer(const void *, skbaddr, skb)
+ ctf_integer
_hex
(const void *, skbaddr, skb)
ctf_integer(int, len, len)
)
)
ctf_integer(int, len, len)
)
)
@@
-59,4
+60,4
@@
LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec,
#endif /* LTTNG_TRACE_SKB_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_SKB_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.024149 seconds
and
4
git commands to generate.