Commit 5393f316 authored by Josh Stone's avatar Josh Stone Committed by David S. Miller

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: default avatarJosh Stone <jistone@redhat.com>
CC: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 35c7f6de
#ifndef _TRACE_SKB_H_ #ifndef _TRACE_SKB_H_
#define _TRACE_SKB_H_ #define _TRACE_SKB_H_
#include <linux/skbuff.h>
#include <linux/tracepoint.h>
DECLARE_TRACE(kfree_skb, DECLARE_TRACE(kfree_skb,
TPPROTO(struct sk_buff *skb, void *location), TPPROTO(struct sk_buff *skb, void *location),
TPARGS(skb, location)); TPARGS(skb, location));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment