]> git.lttng.org Git - lttng-modules.git/commitdiff
Fix: migratepages removed from compaction_migratepages in SLE15 SP5
authorKienan Stewart <kstewart@efficios.com>
Fri, 24 Jan 2025 20:16:33 +0000 (20:16 +0000)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 28 Jan 2025 18:59:28 +0000 (13:59 -0500)
See upstream SUSE commit:

    commit fefdc7d1ef5da10f35c8639660eaf2bf1ed40d3f
    Author: Mel Gorman <mgorman@suse.de>
    Date:   Fri Dec 2 17:36:26 2022 +0000

        Delete patches.rt/locking-lockdep-Provide-lockdep_assert-_once-helpers.patch.
        Refresh patches.rt/powerpc-Add-support-for-lazy-preemption.patch.

        suse-commit: 9b6a19f03339b75aa60ccec7d10efe8d54e362d6

Change-Id: I8525fd3f91d6c1f1ca9d48ffa638af4e31656032
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/instrumentation/events/compaction.h

index cc7453888d31303374ccb27a1cacd2eb8b74c508..c299e252d478900ff2a787502e4ebfc5562386e9 100644 (file)
@@ -88,7 +88,8 @@ LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
                ctf_integer(unsigned long, nr_failed, cc->nr_migratepages - nr_succeeded)
        )
 )
-#elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0))
+#elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0) \
+       || LTTNG_SLE_VERSION_CODE >= LTTNG_SLE_VERSION(150500, 0, 0))
 LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
 
        compaction_migratepages,
This page took 0.030027 seconds and 4 git commands to generate.