aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/skb.h
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-03-24 05:44:28 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-24 17:24:10 -0400
commit5393f3162d3a85317e1e22c33539905fa5258e5f (patch)
tree451945b944458996f21aa4cc62aa3e6c2a5d0e49 /include/trace/skb.h
parent35c7f6de7339f40a591a8aeccacdc429b1953674 (diff)
net: Add dependent headers to trace/skb.h
The tracing header needs to include definitions for the macros used and the types referenced. This lets automated tracing tools like SystemTap make use of the tracepoint without any specific knowledge of its meaning (leaving that to the user). Signed-off-by: Josh Stone <jistone@redhat.com> CC: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace/skb.h')
-rw-r--r--include/trace/skb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/trace/skb.h b/include/trace/skb.h
index 3aa864697c09..a96610f92f69 100644
--- a/include/trace/skb.h
+++ b/include/trace/skb.h
@@ -1,6 +1,9 @@
1#ifndef _TRACE_SKB_H_ 1#ifndef _TRACE_SKB_H_
2#define _TRACE_SKB_H_ 2#define _TRACE_SKB_H_
3 3
4#include <linux/skbuff.h>
5#include <linux/tracepoint.h>
6
4DECLARE_TRACE(kfree_skb, 7DECLARE_TRACE(kfree_skb,
5 TPPROTO(struct sk_buff *skb, void *location), 8 TPPROTO(struct sk_buff *skb, void *location),
6 TPARGS(skb, location)); 9 TPARGS(skb, location));