Linux Trace Kernel
 help / color / mirror / Atom feed
* [PATCH] mm/damon: fix incorrect field name in damos_stat_after_apply_interval
@ 2026-05-09  3:49 Yu Qin
  2026-05-09 15:19 ` SeongJae Park
  0 siblings, 1 reply; 2+ messages in thread
From: Yu Qin @ 2026-05-09  3:49 UTC (permalink / raw)
  To: sj, rostedt, mhiramat; +Cc: damon, linux-trace-kernel, Yu Qin

Fix the format string to use 'sz_applied' instead of 'sz_tried' to correctly
represent the applied size.

Signed-off-by: Yu Qin <qin.yuA@h3c.com>
---
 include/trace/events/damon.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/trace/events/damon.h b/include/trace/events/damon.h
index 24fc402ab..7e25f4469 100644
--- a/include/trace/events/damon.h
+++ b/include/trace/events/damon.h
@@ -41,7 +41,7 @@ TRACE_EVENT(damos_stat_after_apply_interval,
 	),
 
 	TP_printk("ctx_idx=%u scheme_idx=%u nr_tried=%lu sz_tried=%lu "
-			"nr_applied=%lu sz_tried=%lu sz_ops_filter_passed=%lu "
+			"nr_applied=%lu sz_applied=%lu sz_ops_filter_passed=%lu "
 			"qt_exceeds=%lu nr_snapshots=%lu",
 			__entry->context_idx, __entry->scheme_idx,
 			__entry->nr_tried, __entry->sz_tried,
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-09 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-09  3:49 [PATCH] mm/damon: fix incorrect field name in damos_stat_after_apply_interval Yu Qin
2026-05-09 15:19 ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox