X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Finstrumentation%2Fevents%2Frpc.h;h=9c8c3218ace6bb6d044e84c93dd83048403e1690;hb=05355f0bf8b4292ab7b8dc93571a568833b0a3c2;hp=97b30263233c110485a5b9633fc19dbb90fd36d4;hpb=2eb43df613157244ac7b391f77d81d8149f919b8;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),