]> git.lttng.org Git - lttng-modules.git/commitdiff
Fix mm_vmscan_lru_isolate tracepoint for RHEL 9.4 kernel
authorMartin Hicks <martin@sr-research.com>
Fri, 17 May 2024 14:54:27 +0000 (10:54 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 May 2024 20:08:39 +0000 (16:08 -0400)
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 <martin@sr-research.com>
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/instrumentation/events/mm_vmscan.h

index ea6f4b78263ba517cf2d1ff9ee8c3354ecc620c3..f8ef31ec91f8a128666388fea6135e9a1fea9941 100644 (file)
@@ -369,7 +369,9 @@ LTTNG_TRACEPOINT_EVENT_MAP(mm_shrink_slab_end,
 )
 #endif
 
-#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,
This page took 0.030807 seconds and 4 git commands to generate.