diff --git a/[refs] b/[refs] index a4d64d724104..905a783f3272 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 26ccfc37da21e6f02d5e805c38ca7551c16b2fe0 +refs/heads/master: 4893d39e865b2897bf9fcd329697d37032d853a1 diff --git a/trunk/include/trace/skb.h b/trunk/include/trace/skb.h new file mode 100644 index 000000000000..3aa864697c09 --- /dev/null +++ b/trunk/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 diff --git a/trunk/net/core/Makefile b/trunk/net/core/Makefile index 26a37cb31923..d47092bc525c 100644 --- a/trunk/net/core/Makefile +++ b/trunk/net/core/Makefile @@ -17,3 +17,5 @@ obj-$(CONFIG_NET_PKTGEN) += pktgen.o obj-$(CONFIG_NETPOLL) += netpoll.o obj-$(CONFIG_NET_DMA) += user_dma.o obj-$(CONFIG_FIB_RULES) += fib_rules.o +obj-$(CONFIG_TRACEPOINTS) += net-traces.o + diff --git a/trunk/net/core/net-traces.c b/trunk/net/core/net-traces.c new file mode 100644 index 000000000000..c8fb45665e4f --- /dev/null +++ b/trunk/net/core/net-traces.c @@ -0,0 +1,29 @@ +/* + * consolidates trace point definitions + * + * Copyright (C) 2009 Neil Horman + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + + +DEFINE_TRACE(kfree_skb); +EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);