projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Update kmem event for recent Ubuntu kernel
[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 f4a0d97ee13b2c92cced3906579ec6d3f6e3b683..01314ed56f1b1fb797d6d9bf584823ec9a1c55a4 100644
(file)
--- a/
instrumentation/events/lttng-module/net.h
+++ b/
instrumentation/events/lttng-module/net.h
@@
-28,11
+28,12
@@
LTTNG_TRACEPOINT_EVENT(net_dev_xmit,
TP_FIELDS(
ctf_integer(void *, skbaddr, skb)
TP_FIELDS(
ctf_integer(void *, skbaddr, skb)
- ctf_integer(unsigned int, len, skb_len)
ctf_integer(int, rc, rc)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,40))
ctf_integer(int, rc, rc)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,40))
+ ctf_integer(unsigned int, len, skb_len)
ctf_string(name, dev->name)
#else
ctf_string(name, dev->name)
#else
+ ctf_integer(unsigned int, len, skb->len)
ctf_string(name, skb->dev->name)
#endif
)
ctf_string(name, skb->dev->name)
#endif
)
@@
-58,14
+59,22
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE(net_dev_template, net_dev_queue,
TP_ARGS(skb)
)
TP_ARGS(skb)
)
-LTTNG_TRACEPOINT_EVENT_INSTANCE(net_dev_template, netif_receive_skb,
+LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_template,
+
+ netif_receive_skb,
+
+ net_if_receive_skb,
TP_PROTO(struct sk_buff *skb),
TP_ARGS(skb)
)
TP_PROTO(struct sk_buff *skb),
TP_ARGS(skb)
)
-LTTNG_TRACEPOINT_EVENT_INSTANCE(net_dev_template, netif_rx,
+LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_template,
+
+ netif_rx,
+
+ net_if_rx,
TP_PROTO(struct sk_buff *skb),
TP_PROTO(struct sk_buff *skb),
This page took
0.023251 seconds
and
4
git commands to generate.