Re: [PATCH] tracing: sched: Hide numa events under CONFIG_NUMA_BALANCING

From
Steven Rostedt <rostedt@goodmis.org>
Date
2025-07-25 13:00:28
Also in
lkml
Reply to
Shrikanth Hegde, 2025-07-23
On Wed, 23 Jul 2025 15:14:26 +0530
Shrikanth Hegde [off-list ref] wrote:
On 6/12/25 19:35, Steven Rostedt wrote:
quoted
From: Steven Rostedt <rostedt@goodmis.org>

The events sched_move_numa, sched_stick_numa and sched_swap_numa are only
called when CONFIG_NUMA_BALANCING is configured. As each event can take up
to 5K of memory in text and meta data regardless if they are used or not,
they should not be defined when used.  
they should be defined when used?
That was supposed to be: "they should not be defined when unused."

Thanks for pointing it out.
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Thanks!

-- Steve
Thread (3 messages) 3 messages, 2 authors, last reply 2025-07-25
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