diff options
Diffstat (limited to 'net/core/net-traces.c')
-rw-r--r-- | net/core/net-traces.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/core/net-traces.c b/net/core/net-traces.c index b07b25bd2cde..f1e982c508bb 100644 --- a/net/core/net-traces.c +++ b/net/core/net-traces.c @@ -19,15 +19,14 @@ #include <linux/workqueue.h> #include <linux/netlink.h> #include <linux/net_dropmon.h> -#include <trace/skb.h> -#include <trace/napi.h> #include <asm/unaligned.h> #include <asm/bitops.h> +#define CREATE_TRACE_POINTS +#include <trace/events/skb.h> +#include <trace/events/napi.h> -DEFINE_TRACE(kfree_skb); EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb); -DEFINE_TRACE(napi_poll); EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll); |