summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2009-03-11 09:48:26 +0000
committerDavid S. Miller <davem@davemloft.net>2009-03-13 12:09:27 -0700
commit4893d39e865b2897bf9fcd329697d37032d853a1 (patch)
tree04ba3529c2142651c6974a13f0f6c5654059b471 /include/trace
parent26ccfc37da21e6f02d5e805c38ca7551c16b2fe0 (diff)
downloadlinux-4893d39e865b2897bf9fcd329697d37032d853a1.tar.gz
linux-4893d39e865b2897bf9fcd329697d37032d853a1.tar.bz2
linux-4893d39e865b2897bf9fcd329697d37032d853a1.zip
Network Drop Monitor: Add trace declaration for skb frees
Signed-off-by: Neil Horman <nhorman@tuxdriver.com> include/trace/skb.h | 8 ++++++++ net/core/Makefile | 2 ++ net/core/net-traces.c | 29 +++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/skb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/trace/skb.h b/include/trace/skb.h
new file mode 100644
index 000000000000..3aa864697c09
--- /dev/null
+++ b/include/trace/skb.h
@@ -0,0 +1,8 @@
+#ifndef _TRACE_SKB_H_
+#define _TRACE_SKB_H_
+
+DECLARE_TRACE(kfree_skb,
+ TPPROTO(struct sk_buff *skb, void *location),
+ TPARGS(skb, location));
+
+#endif