diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2009-03-11 12:48:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-13 22:09:27 +0300 |
commit | 4893d39e865b2897bf9fcd329697d37032d853a1 (patch) | |
tree | 04ba3529c2142651c6974a13f0f6c5654059b471 /include | |
parent | 26ccfc37da21e6f02d5e805c38ca7551c16b2fe0 (diff) | |
download | linux-4893d39e865b2897bf9fcd329697d37032d853a1.tar.xz |
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')
-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 @@ +#ifndef _TRACE_SKB_H_ +#define _TRACE_SKB_H_ + +DECLARE_TRACE(kfree_skb, + TPPROTO(struct sk_buff *skb, void *location), + TPARGS(skb, location)); + +#endif |