]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mm/damon: fix damos_stat tracepoint format for sz_applied
authorSeongJae Park <sj@kernel.org>
Sun, 26 Apr 2026 19:31:17 +0000 (12:31 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 14 May 2026 00:40:00 +0000 (17:40 -0700)
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: 804c26b961da ("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>
include/trace/events/damon.h

index 24fc402ab3c854b9f1e69a8b323735774ac9020b..7e25f4469b81b00ac63c43830d4e17eb88affb37 100644 (file)
@@ -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,