X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fpreemptirq.h;h=db681e4d88869e77dcb6fa2773da325906db6c52;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=2fc81177cc3de8f7e941ba8ade021e132998c73e;hpb=e0f2366419fc59700e575bab82a41255c51de2dc;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/preemptirq.h b/instrumentation/events/lttng-module/preemptirq.h index 2fc81177..db681e4d 100644 --- a/instrumentation/events/lttng-module/preemptirq.h +++ b/instrumentation/events/lttng-module/preemptirq.h @@ -35,7 +35,7 @@ LTTNG_TRACEPOINT_EVENT_CLASS(preemptirq_template, */ #if defined(CONFIG_TRACE_IRQFLAGS) #define LTTNG_TRACE_IRQ -#elif (LINUX_VERSION_CODE < KERNEL_VERSION(4,19,0) && \ +#elif (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(4,19,0) && \ !defined(CONFIG_PROVE_LOCKING)) #define LTTNG_TRACE_IRQ #endif @@ -67,7 +67,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(preemptirq_template, irq_enable, */ #if defined(CONFIG_TRACE_PREEMPT_TOGGLE) #define LTTNG_TRACE_PREEMPT -#elif (LINUX_VERSION_CODE < KERNEL_VERSION(4,19,0) && \ +#elif (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(4,19,0) && \ defined(CONFIG_DEBUG_PREEMPT)) #define LTTNG_TRACE_PREEMPT #endif