diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2009-03-11 05:48:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-13 15:09:27 -0400 |
commit | 4893d39e865b2897bf9fcd329697d37032d853a1 (patch) | |
tree | 04ba3529c2142651c6974a13f0f6c5654059b471 /include/trace | |
parent | 26ccfc37da21e6f02d5e805c38ca7551c16b2fe0 (diff) |
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.h | 8 |
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 @@ | |||
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 | ||