X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-events.c;h=410302818f819954559508ec853327fcd9327f57;hb=refs%2Fheads%2Fstable-2.12;hp=60f5623be66deba10b001e0064676322a60d23a1;hpb=1d00109f7168cd30f3a2de6173d1e2ec36372ba9;p=lttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index 60f5623b..41030281 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -46,6 +46,13 @@ #include #include +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,16,0) \ + || LTTNG_RHEL_KERNEL_RANGE(5,14,0,162,0,0, 5,15,0,0,0,0)) +#include +#else +#include +#endif + #define METADATA_CACHE_DEFAULT_SIZE 4096 static LIST_HEAD(sessions);