Re: [PATCH v2 18/19] mm: damon: Use trace_call__##name() at guarded tracepoint call sites

From
SeongJae Park <sj@kernel.org>
Date
2026-03-24 00:25:47
Also in
damon, linux-mm, lkml
Reply to
Vineeth Pillai (Google), 2026-03-23
On Mon, 23 Mar 2026 12:00:37 -0400 "Vineeth Pillai (Google)" [off-list ref] wrote:
Replace trace_damos_stat_after_apply_interval() with
trace_call__damos_stat_after_apply_interval() at a site already guarded
by an early return when !trace_damos_stat_after_apply_interval_enabled(),
avoiding a redundant static_branch_unlikely() re-evaluation inside the
tracepoint.

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Vineeth Pillai (Google) <redacted>
Reviewed-by: SeongJae Park <sj@kernel.org>


Thanks,
SJ

[...]
Thread (33 messages) 33 messages, 11 authors, last reply 2026-04-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help