Fix mm_vmscan_lru_isolate tracepoint for RHEL 9.4 kernel
PATCH 1/1 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.
--- include/instrumentation/events/mm_vmscan.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
include/instrumentation/events/mm_vmscan.h +3 -1
@@ -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,
Signature · 6 lines
2.43.0 _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Hi Martin,
thanks for the patch.
I changed the version range slightly. The RHEL kernel 5.14.0-427.13.1 still has the isolate_mode parameter in the mm_vmscan_lru_isolate tracepoint; it was only removed in 5.14.0-427.16.1.
I also forward ported the patch to the master branch.
The updated patches will be reviewed at: https://review.lttng.org/q/topic:%22buildfix-el9.4%22
thanks,
kienan
Quoted 15 lines · Martin Hicks via lttng-dev
Redhat has moved to using the format first found in the 6.7 kernel for the
mm_vmscan_lru_isolatetracepoint.Signed-off-by Martin Hicks <[email protected]>--- include/instrumentation/events/mm_vmscan.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)include/instrumentation/events/mm_vmscan.h +0
-0
include/instrumentation/events/mm_vmscan.h LTTNG_TRACEPOINT_EVENT_MAP(mm_shrink_slab_end, · line 377
Quoted 10 lines
include/instrumentation/events/mm_vmscan.h +3
-1@@ -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,
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Mathieu Desnoyers via lttng-dev
AppliedQuoted 9 lines · Kienan Stewart via lttng-dev
Hi Martin,
thanks for the patch.
I changed the version range slightly. The RHEL kernel 5.14.0-427.13.1 still has the
isolate_modeparameter in themm_vmscan_lru_isolatetracepoint; it was only removed in 5.14.0-427.16.1.I also forward ported the patch to the master branch.
The updated patches will be reviewed at: https://review.lttng.org/q/topic:%22buildfix-el9.4%22
Merged into lttng-modules master and stable-2.13, thanks!
Mathieu
Quoted 32 lines
thanks,
kienanQuoted 15 lines · Martin Hicks via lttng-dev
Redhat has moved to using the format first found in the 6.7 kernel for the
mm_vmscan_lru_isolatetracepoint.Signed-off-by Martin Hicks <[email protected]>---
include/instrumentation/events/mm_vmscan.h| 4 +++-1 file changed, 3 insertions(+), 1 deletion(-)include/instrumentation/events/mm_vmscan.h +0
-0include/instrumentation/events/mm_vmscan.h LTTNG_TRACEPOINT_EVENT_MAP(mm_shrink_slab_end, · line 375
Quoted 8 lines
include/instrumentation/events/mm_vmscan.h +3
-1@@ -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,_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 8 lines
Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev