X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fevents-internal.h;h=cd560de84a8cb88e8af43efa56501b60fa08850b;hb=fce87a6ebf4a69ab032f6d305d947d3973a3932a;hp=3923232bf76623a8481d8894583d9b34ff503ac0;hpb=05355f0bf8b4292ab7b8dc93571a568833b0a3c2;p=lttng-modules.git diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index 3923232b..cd560de8 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -714,7 +714,8 @@ int lttng_add_uts_ns_to_ctx(struct lttng_kernel_ctx **ctx) #endif #if defined(CONFIG_TIME_NS) && \ - (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,6,0)) + (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,6,0) || \ + LTTNG_RHEL_KERNEL_RANGE(4,18,0,305,0,0, 4,19,0,0,0,0)) int lttng_add_time_ns_to_ctx(struct lttng_kernel_ctx **ctx); #else static inline