File mm-compaction-cleanup-the-compaction-trace-events-v5.18.patch of Package lttng-modules
22
1
From: Michael Jeanson <mjeanson@efficios.com>
2
Date: Mon Apr 4 15:14:01 2022 -0400
3
Git-commit: 4bc54914836f765470e487f832398072a6f1372b
4
Signed-off-by: Tony Jones <tonyj@suse.de>
5
6
fix: mm: compaction: cleanup the compaction trace events (v5.18)
7
8
SUSE: Adjust this commit to reflect SLE15-SP5 backport
9
Original lttng patch for v5.17 is afc4fe8905620a3eb14a5ed16146dac1db0f8111
10
11
--- a/include/instrumentation/events/compaction.h
12
+++ b/include/instrumentation/events/compaction.h
13
14
ctf_integer(unsigned long, nr_failed, cc->nr_migratepages - nr_succeeded)
15
)
16
)
17
-#elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0))
18
+#elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0) || defined(CONFIG_SUSE_KERNEL))
19
LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
20
21
compaction_migratepages,
22