projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update sched instrumentation to Linux 3.13
[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 a444b07a201059058a1da9c8c81f5804463871f2..e552cf7ba8a66487a49df424cb47af56e892b42c 100644
(file)
--- a/
instrumentation/events/lttng-module/net.h
+++ b/
instrumentation/events/lttng-module/net.h
@@
-12,7
+12,7
@@
TRACE_EVENT(net_dev_xmit,
TRACE_EVENT(net_dev_xmit,
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(
3,0,
0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(
2,6,4
0))
TP_PROTO(struct sk_buff *skb,
int rc,
struct net_device *dev,
TP_PROTO(struct sk_buff *skb,
int rc,
struct net_device *dev,
@@
-30,14
+30,14
@@
TRACE_EVENT(net_dev_xmit,
__field( void *, skbaddr )
__field( unsigned int, len )
__field( int, rc )
__field( void *, skbaddr )
__field( unsigned int, len )
__field( int, rc )
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(
3,0,
0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(
2,6,4
0))
__string( name, dev->name )
#else
__string( name, skb->dev->name )
#endif
),
__string( name, dev->name )
#else
__string( name, skb->dev->name )
#endif
),
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(
3,0,
0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(
2,6,4
0))
TP_fast_assign(
tp_assign(skbaddr, skb)
tp_assign(len, skb_len)
TP_fast_assign(
tp_assign(skbaddr, skb)
tp_assign(len, skb_len)
This page took
0.023621 seconds
and
4
git commands to generate.