]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
net: Add dependent headers to trace/skb.h
authorJosh Stone <jistone@redhat.com>
Tue, 24 Mar 2009 09:44:28 +0000 (09:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2009 21:24:10 +0000 (14:24 -0700)
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>
include/trace/skb.h

index 3aa864697c095732e5010eb9085aa52b626a3806..a96610f92f6982cbf0ba05da182850d4c2326699 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef _TRACE_SKB_H_
 #define _TRACE_SKB_H_
 
+#include <linux/skbuff.h>
+#include <linux/tracepoint.h>
+
 DECLARE_TRACE(kfree_skb,
        TPPROTO(struct sk_buff *skb, void *location),
        TPARGS(skb, location));