Skip to content

Commit

Permalink
net: Add dependent headers to trace/skb.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Josh Stone authored and David S. Miller committed Mar 24, 2009
1 parent 35c7f6d commit 5393f31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/trace/skb.h
Original file line number Diff line number Diff line change
@@ -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));
Expand Down

0 comments on commit 5393f31

Please sign in to comment.