]>
Commit | Line | Data |
---|---|---|
5041df65 JR |
1 | From c312bda00d2dc10ce5f6c1189acbefee5c6c8c6c Mon Sep 17 00:00:00 2001 |
2 | From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
3 | Date: Tue, 29 Mar 2022 16:34:07 -0400 | |
4 | Subject: [PATCH 01/13] Fix: compaction migratepages event name | |
5 | ||
6 | The commit "fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17)" | |
7 | ||
8 | Triggers this warning: | |
9 | ||
10 | LTTng: event provider mismatch: The event name needs to start with provider name + _ + one or more letter, provider: compaction, event name: mm_compaction_migratepages | |
11 | ||
12 | Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
13 | Change-Id: I01c7485af765084dafb33bf33ae392e60bfbf1e7 | |
14 | --- | |
15 | include/instrumentation/events/compaction.h | 4 +++- | |
16 | 1 file changed, 3 insertions(+), 1 deletion(-) | |
17 | ||
18 | diff --git a/include/instrumentation/events/compaction.h b/include/instrumentation/events/compaction.h | |
19 | index 340e41f5..15964537 100644 | |
20 | --- a/include/instrumentation/events/compaction.h | |
21 | +++ b/include/instrumentation/events/compaction.h | |
22 | @@ -98,7 +98,9 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(compaction_isolate_template, | |
23 | #endif /* #else #if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,0,0) */ | |
24 | ||
25 | #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0)) | |
26 | -LTTNG_TRACEPOINT_EVENT(mm_compaction_migratepages, | |
27 | +LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages, | |
28 | + | |
29 | + compaction_migratepages, | |
30 | ||
31 | TP_PROTO(unsigned long nr_all, | |
32 | unsigned int nr_succeeded), | |
33 | -- | |
34 | 2.36.1 | |
35 |