Fix: compaction migratepages event name
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 Mar 2022 20:34:07 +0000 (16:34 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 Mar 2022 20:35:27 +0000 (16:35 -0400)
The commit "fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17)"

Triggers this warning:

    LTTng: event provider mismatch: The event name needs to start with provider name + _ + one or more letter, provider: compaction, event name: mm_compaction_migratepages

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I01c7485af765084dafb33bf33ae392e60bfbf1e7

instrumentation/events/lttng-module/compaction.h

index d3b5523e0d4f3f0bcf58e6422206c18a117aec71..6ef1e6473251b9aa60f9e3550f8a5a4462024395 100644 (file)
@@ -98,7 +98,9 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(compaction_isolate_template,
 #endif /* #else #if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,0,0) */
 
 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0))
-LTTNG_TRACEPOINT_EVENT(mm_compaction_migratepages,
+LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
+
+       compaction_migratepages,
 
        TP_PROTO(unsigned long nr_all,
                unsigned int nr_succeeded),
This page took 0.028069 seconds and 4 git commands to generate.