X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fnapi.h;h=d6df1817d4c53d7b9df63eb50d9dd0fe73ec3d3d;hb=3bc29f0a41b3c803245b845db2e1909042e72e9c;hp=26b10ba1b99db10f22623cd0c3a028a7c02c4d0d;hpb=7ca580f8aca4f8c2b9e0066ad52ebfc226b3d645;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/napi.h b/instrumentation/events/lttng-module/napi.h index 26b10ba1..d6df1817 100644 --- a/instrumentation/events/lttng-module/napi.h +++ b/instrumentation/events/lttng-module/napi.h @@ -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 -#include #include #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"