From: Mathieu Desnoyers Date: Thu, 16 Apr 2015 21:13:37 +0000 (-0400) Subject: Fix: net instrumentation namespacing X-Git-Tag: v2.7.0-rc1~56 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b7f5408ad53fd1bf26052ed873baa2f5dd5ae98a;p=lttng-modules.git Fix: net instrumentation namespacing Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/net.h b/instrumentation/events/lttng-module/net.h index f4a0d97e..d91aac05 100644 --- a/instrumentation/events/lttng-module/net.h +++ b/instrumentation/events/lttng-module/net.h @@ -58,14 +58,22 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(net_dev_template, net_dev_queue, 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) ) -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),