# Re: \[PATCH\] tracing: sched: Hide numa events under CONFIG\_NUMA\_BALANCING

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2025-07-25 13:00:28 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2025/07/3148656
- Thread: https://ratatoskr.run/linux-trace-kernel/2025/06/3089408/t.md

```text
On Wed, 23 Jul 2025 15:14:26 +0530
Shrikanth Hegde [ref] wrote:

> On 6/12/25 19:35, Steven Rostedt wrote:
> > 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
```
