Skip to contentSkip to conversation

Add dependent headers to trace/skb.h

PATCH New Josh Stone 1 participant 1 message Mar 24, 2009

Subsystems (3)
lore
Share & tools
lore

Josh Stone

author
#0 lore raw

PATCH 1/1 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).

---
 include/trace/skb.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/trace/skb.h +3 -0
index 3aa8646..a96610f 100644
@@ -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));
Signature · 1 line
1.6.0.6