Rename LTTng instrumentation macros
[lttng-modules.git] / instrumentation / events / lttng-module / napi.h
index 26b10ba1b99db10f22623cd0c3a028a7c02c4d0d..d6df1817d4c53d7b9df63eb50d9dd0fe73ec3d3d 100644 (file)
@@ -1,16 +1,16 @@
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM napi
 
-#if !defined(_TRACE_NAPI_H_) || defined(TRACE_HEADER_MULTI_READ)
-#define _TRACE_NAPI_H_
+#if !defined(LTTNG_TRACE_NAPI_H) || defined(TRACE_HEADER_MULTI_READ)
+#define LTTNG_TRACE_NAPI_H
 
+#include "../../../probes/lttng-tracepoint-event.h"
 #include <linux/netdevice.h>
-#include <linux/tracepoint.h>
 #include <linux/ftrace.h>
 
 #define NO_DEV "(no_device)"
 
-TRACE_EVENT(napi_poll,
+LTTNG_TRACEPOINT_EVENT(napi_poll,
 
        TP_PROTO(struct napi_struct *napi),
 
@@ -32,7 +32,7 @@ TRACE_EVENT(napi_poll,
 
 #undef NO_DEV
 
-#endif /* _TRACE_NAPI_H_ */
+#endif /* LTTNG_TRACE_NAPI_H */
 
 /* This part must be outside protection */
 #include "../../../probes/define_trace.h"
This page took 0.026461 seconds and 4 git commands to generate.