File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ #ifndef _TRACE_SKB_H_
2
+ #define _TRACE_SKB_H_
3
+
4
+ DECLARE_TRACE (kfree_skb ,
5
+ TPPROTO (struct sk_buff * skb , void * location ),
6
+ TPARGS (skb , location ));
7
+
8
+ #endif
Original file line number Diff line number Diff line change @@ -17,3 +17,5 @@ obj-$(CONFIG_NET_PKTGEN) += pktgen.o
17
17
obj-$(CONFIG_NETPOLL) += netpoll.o
18
18
obj-$(CONFIG_NET_DMA) += user_dma.o
19
19
obj-$(CONFIG_FIB_RULES) += fib_rules.o
20
+ obj-$(CONFIG_TRACEPOINTS) += net-traces.o
21
+
Original file line number Diff line number Diff line change
1
+ /*
2
+ * consolidates trace point definitions
3
+ *
4
+ * Copyright (C) 2009 Neil Horman <[email protected] >
5
+ */
6
+
7
+ #include <linux/netdevice.h>
8
+ #include <linux/etherdevice.h>
9
+ #include <linux/string.h>
10
+ #include <linux/if_arp.h>
11
+ #include <linux/inetdevice.h>
12
+ #include <linux/inet.h>
13
+ #include <linux/interrupt.h>
14
+ #include <linux/netpoll.h>
15
+ #include <linux/sched.h>
16
+ #include <linux/delay.h>
17
+ #include <linux/rcupdate.h>
18
+ #include <linux/types.h>
19
+ #include <linux/workqueue.h>
20
+ #include <linux/netlink.h>
21
+ #include <linux/net_dropmon.h>
22
+ #include <trace/skb.h>
23
+
24
+ #include <asm/unaligned.h>
25
+ #include <asm/bitops.h>
26
+
27
+
28
+ DEFINE_TRACE (kfree_skb );
29
+ EXPORT_TRACEPOINT_SYMBOL_GPL (kfree_skb );
You can’t perform that action at this time.
0 commit comments