diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2009-03-11 09:48:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-13 12:09:27 -0700 |
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 00000000000..3aa864697c0 --- /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 |