From: Yu Qin <qin.yuA@h3c.com>
To: <sj@kernel.org>, <rostedt@goodmis.org>, <mhiramat@kernel.org>
Cc: <damon@lists.linux.dev>, <linux-trace-kernel@vger.kernel.org>,
Yu Qin <qin.yuA@h3c.com>
Subject: [PATCH] mm/damon: fix incorrect field name in damos_stat_after_apply_interval
Date: Sat, 9 May 2026 11:49:51 +0800 [thread overview]
Message-ID: <20260509034951.3757618-1-qin.yuA@h3c.com> (raw)
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
next reply other threads:[~2026-05-09 4:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-09 3:49 Yu Qin [this message]
2026-05-09 15:19 ` [PATCH] mm/damon: fix incorrect field name in damos_stat_after_apply_interval SeongJae Park
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260509034951.3757618-1-qin.yuA@h3c.com \
--to=qin.yua@h3c.com \
--cc=damon@lists.linux.dev \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=rostedt@goodmis.org \
--cc=sj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox