X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Frpc.h;h=9c8c3218ace6bb6d044e84c93dd83048403e1690;hb=93e5bcec1d8d550a1983bbc013248dbd83573cc7;hp=97b30263233c110485a5b9633fc19dbb90fd36d4;hpb=5f4c791e2ad2c814101ccdb500e65543f2792c41;p=lttng-modules.git diff --git a/include/instrumentation/events/rpc.h b/include/instrumentation/events/rpc.h index 97b30263..9c8c3218 100644 --- a/include/instrumentation/events/rpc.h +++ b/include/instrumentation/events/rpc.h @@ -32,7 +32,8 @@ int lttng_get_clid(const struct rpc_task *task) #endif /* ONCE_LTTNG_RPC_H */ -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,0,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,0,0) || \ + LTTNG_RHEL_KERNEL_RANGE(4,18,0,193,0,0, 4,19,0,0,0,0)) LTTNG_TRACEPOINT_EVENT_CLASS(rpc_task_status, TP_PROTO(const struct rpc_task *task),