Skip to content

Commit 620072f

Browse files
sjp38akpm00
authored andcommitted
mm/damon: fix damos_stat tracepoint format for sz_applied
The print format is wrongly marking sz_applied as sz_tried. Fix it. Link: https://lore.kernel.org/20260426193119.88095-1-sj@kernel.org Fixes: 804c26b ("mm/damon/core: add trace point for damos stat per apply interval") Signed-off-by: SeongJae Park <sj@kernel.org> Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: <stable@vger.kernel.org> # 7.0.x Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent d4e7b5c commit 620072f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/trace/events/damon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ TRACE_EVENT(damos_stat_after_apply_interval,
4141
),
4242

4343
TP_printk("ctx_idx=%u scheme_idx=%u nr_tried=%lu sz_tried=%lu "
44-
"nr_applied=%lu sz_tried=%lu sz_ops_filter_passed=%lu "
44+
"nr_applied=%lu sz_applied=%lu sz_ops_filter_passed=%lu "
4545
"qt_exceeds=%lu nr_snapshots=%lu",
4646
__entry->context_idx, __entry->scheme_idx,
4747
__entry->nr_tried, __entry->sz_tried,

0 commit comments

Comments
 (0)