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
/
net.h
diff --git
a/instrumentation/events/lttng-module/net.h
b/instrumentation/events/lttng-module/net.h
index 878926365c5eb521998c6019cb9e855c3517c3de..4b194071c2aa799735fb65d9f5b78e9e930c4400 100644
(file)
--- a/
instrumentation/events/lttng-module/net.h
+++ b/
instrumentation/events/lttng-module/net.h
@@
-11,7
+11,7
@@
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/tcp.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/tcp.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>
@@
-439,7
+439,7
@@
LTTNG_TRACEPOINT_ENUM(net_network_header,
LTTNG_TRACEPOINT_EVENT(net_dev_xmit,
LTTNG_TRACEPOINT_EVENT(net_dev_xmit,
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(2,6,40))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(2,6,40))
TP_PROTO(struct sk_buff *skb,
int rc,
struct net_device *dev,
TP_PROTO(struct sk_buff *skb,
int rc,
struct net_device *dev,
@@
-456,7
+456,7
@@
LTTNG_TRACEPOINT_EVENT(net_dev_xmit,
TP_FIELDS(
ctf_integer_hex(void *, skbaddr, skb)
ctf_integer(int, rc, rc)
TP_FIELDS(
ctf_integer_hex(void *, skbaddr, skb)
ctf_integer(int, rc, rc)
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(2,6,40))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(2,6,40))
ctf_integer(unsigned int, len, skb_len)
ctf_string(name, dev->name)
#else
ctf_integer(unsigned int, len, skb_len)
ctf_string(name, dev->name)
#else
This page took
0.031088 seconds
and
4
git commands to generate.