summaryrefslogtreecommitdiffstats
path: root/include/trace/events/napi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/napi.h')
-rw-r--r--include/trace/events/napi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/trace/events/napi.h b/include/trace/events/napi.h
new file mode 100644
index 00000000000..a8989c4547e
--- /dev/null
+++ b/include/trace/events/napi.h
@@ -0,0 +1,11 @@
+#ifndef _TRACE_NAPI_H_
+#define _TRACE_NAPI_H_
+
+#include <linux/netdevice.h>
+#include <linux/tracepoint.h>
+
+DECLARE_TRACE(napi_poll,
+ TP_PROTO(struct napi_struct *napi),
+ TP_ARGS(napi));
+
+#endif