From 768388a23715710258b942cd047f423630f83697 Mon Sep 17 00:00:00 2001 From: Martin Hicks Date: Fri, 17 May 2024 11:07:26 -0400 Subject: [PATCH] Fix mm_vmscan_lru_isolate tracepoint for RHEL 9.4 kernel Redhat has moved to using the format first found in the 6.7 kernel for the mm_vmscan_lru_isolate tracepoint. Change-Id: I2aa84769c0070458d902e9a0305488d6d8a380e1 Signed-off-by: Martin Hicks Signed-off-by: Kienan Stewart Signed-off-by: Mathieu Desnoyers --- include/instrumentation/events/mm_vmscan.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/instrumentation/events/mm_vmscan.h b/include/instrumentation/events/mm_vmscan.h index 90addbf3..66eb490c 100644 --- a/include/instrumentation/events/mm_vmscan.h +++ b/include/instrumentation/events/mm_vmscan.h @@ -334,7 +334,8 @@ LTTNG_TRACEPOINT_EVENT_MAP(mm_shrink_slab_end, ) ) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,7,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,7,0) || \ + LTTNG_RHEL_KERNEL_RANGE(5,14,0,427,16,1, 5,15,0,0,0,0)) LTTNG_TRACEPOINT_EVENT(mm_vmscan_lru_isolate, TP_PROTO(int classzone_idx, -- 2.34.1