]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
2afad7084bd188996d142b337c8f0e91ea5df62e
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From 039dbff4ba95eca58f8ebbcf1640a46b482c24e0 Mon Sep 17 00:00:00 2001
2 From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 Date: Fri, 4 Jul 2025 11:34:45 -0400
4 Subject: [PATCH 1/2] writeback instrumentation: Add missing provider name
5 prefix
6
7 The events folio_wait_writeback and wait_on_page_writeback do not have
8 the writeback event name prefix mandated by the sanity check in
9 lttng_kernel_probe_register, which trigger a console warning.
10
11 Change those event names to provide the relevant provider name prefix.
12
13 Upstream-Status: Backport [commit 039dbff4]
14
15 Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
16 Change-Id: Ia069e2dac4a373170e059792a947cffb6c956cb2
17 ---
18 include/instrumentation/events/writeback.h | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21 diff --git a/include/instrumentation/events/writeback.h b/include/instrumentation/events/writeback.h
22 index d694e323..b9e26b5b 100644
23 --- a/include/instrumentation/events/writeback.h
24 +++ b/include/instrumentation/events/writeback.h
25 @@ -122,7 +122,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(writeback_folio_template, writeback_dirty_folio,
26 TP_ARGS(folio, mapping)
27 )
28
29 -LTTNG_TRACEPOINT_EVENT_INSTANCE(writeback_folio_template, folio_wait_writeback,
30 +LTTNG_TRACEPOINT_EVENT_INSTANCE(writeback_folio_template, writeback_folio_wait,
31
32 TP_PROTO(struct folio *folio, struct address_space *mapping),
33
34 @@ -150,7 +150,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(writeback_page_template, writeback_dirty_page,
35 TP_ARGS(page, mapping)
36 )
37
38 -LTTNG_TRACEPOINT_EVENT_INSTANCE(writeback_page_template, wait_on_page_writeback,
39 +LTTNG_TRACEPOINT_EVENT_INSTANCE(writeback_page_template, writeback_wait_on_page,
40
41 TP_PROTO(struct page *page, struct address_space *mapping),
42
43 --
44 2.39.2
45