X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fworkqueue.h;h=023b65a8d8df00b2f62b5ca6a29e57eda0ed8f86;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=8ca0d6bf7a46ae3a43fc213726523d1c320e1b43;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=lttng-modules.git diff --git a/include/instrumentation/events/workqueue.h b/include/instrumentation/events/workqueue.h index 8ca0d6bf..023b65a8 100644 --- a/include/instrumentation/events/workqueue.h +++ b/include/instrumentation/events/workqueue.h @@ -7,7 +7,7 @@ #include #include -#include +#include #ifndef _TRACE_WORKQUEUE_DEF_ #define _TRACE_WORKQUEUE_DEF_ @@ -40,7 +40,7 @@ LTTNG_TRACEPOINT_EVENT_CLASS(workqueue_work, */ LTTNG_TRACEPOINT_EVENT(workqueue_queue_work, -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,9,0)) TP_PROTO(unsigned int req_cpu, struct pool_workqueue *pwq, struct work_struct *work), @@ -92,7 +92,7 @@ LTTNG_TRACEPOINT_EVENT(workqueue_execute_start, ) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,6,0)) /** * workqueue_execute_end - called immediately after the workqueue callback * @work: pointer to struct work_struct