[lttng-dev] [PATCH] Fix mm_vmscan_lru_isolate tracepoint for RHEL 9.4 kernel
Martin Hicks via lttng-dev <[email protected]> Fri, 17 May 2024 10:30:03 -0400
| Newsgroups | org.lttng.lists.lttng-dev |
|---|---|
| Message-ID | <ZkdnIf/[email protected]> |
Redhat has moved to using the format first found in the 6.7 kernel for the mm_vmscan_lru_isolate tracepoint. Signed-off-by: Martin Hicks <[email protected]> --- include/instrumentation/events/mm_vmscan.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/instrumentation/events/mm_vmscan.h b/include/instrumentation/events/mm_vmscan.h index ea6f4b7..49a9eae 100644 --- a/include/instrumentation/events/mm_vmscan.h +++ b/include/instrumentation/events/mm_vmscan.h @@ -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,0,0, 5,15,0,0,0,0)) + LTTNG_TRACEPOINT_EVENT(mm_vmscan_lru_isolate, TP_PROTO(int classzone_idx, -- 2.43.0 _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev