X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fnapi.h;h=168163669403cd7840888a79d6c3f95ef5146655;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=7b5ecfc468df2832c49f4456514529df8ad45490;hpb=9e8691779f3424318ad4925d444ebe959038ec2b;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/napi.h b/instrumentation/events/lttng-module/napi.h index 7b5ecfc4..16816366 100644 --- a/instrumentation/events/lttng-module/napi.h +++ b/instrumentation/events/lttng-module/napi.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM #define TRACE_SYSTEM napi @@ -10,7 +11,7 @@ #define NO_DEV "(no_device)" -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,8,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,8,0)) LTTNG_TRACEPOINT_EVENT(napi_poll,