projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: endianness for the container type of enum
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
net.h
diff --git
a/instrumentation/events/lttng-module/net.h
b/instrumentation/events/lttng-module/net.h
index 01314ed56f1b1fb797d6d9bf584823ec9a1c55a4..4f4b817ac4721baaea7dcc9b3d734f0817a57c74 100644
(file)
--- a/
instrumentation/events/lttng-module/net.h
+++ b/
instrumentation/events/lttng-module/net.h
@@
-4,7
+4,7
@@
#if !defined(LTTNG_TRACE_NET_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_NET_H
#if !defined(LTTNG_TRACE_NET_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_NET_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/ip.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/ip.h>
@@
-27,7
+27,7
@@
LTTNG_TRACEPOINT_EVENT(net_dev_xmit,
#endif
TP_FIELDS(
#endif
TP_FIELDS(
- ctf_integer(void *, skbaddr, skb)
+ ctf_integer
_hex
(void *, skbaddr, skb)
ctf_integer(int, rc, rc)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,40))
ctf_integer(unsigned int, len, skb_len)
ctf_integer(int, rc, rc)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,40))
ctf_integer(unsigned int, len, skb_len)
@@
-46,7
+46,7
@@
LTTNG_TRACEPOINT_EVENT_CLASS(net_dev_template,
TP_ARGS(skb),
TP_FIELDS(
TP_ARGS(skb),
TP_FIELDS(
- ctf_integer(void *, skbaddr, skb)
+ ctf_integer
_hex
(void *, skbaddr, skb)
ctf_integer(unsigned int, len, skb->len)
ctf_string(name, skb->dev->name)
)
ctf_integer(unsigned int, len, skb->len)
ctf_string(name, skb->dev->name)
)
@@
-83,4
+83,4
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_template,
#endif /* LTTNG_TRACE_NET_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_NET_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.023449 seconds
and
4
git commands to generate.