diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2026-10-22 15:33:59 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-10-23 13:27:24 -0400 |
| commit | 107b87efc8fcd6a597f1b534f116385620770e56 (patch) | |
| tree | af6bce2a6482106a821d48eb5c845769c2ed2d66 /scripts/Makefile.thinlto | |
| parent | f86641ffea95ee6f62d829929a69be7ab1496ce5 (diff) | |
| download | linux-next-107b87efc8fcd6a597f1b534f116385620770e56.tar.gz linux-next-107b87efc8fcd6a597f1b534f116385620770e56.zip | |
cpuidle: haltpoll: Only define guest_halt_poll_ns tracepoint when used
Tracepoints that are defined take up around 5K each, even if they are not
used. When a tracepoint is used only in code when a specific config is
enabled, their definition must also be only defined when the same config
is enabled otherwise it wastes memory.
The tracepoint guest_halt_poll_ns is only used when CONFIG_CPU_IDLE_GOV_HALTPOLL
is enabled. Guard the definition of that tracepoint with the same config.
Link: https://patch.msgid.link/20261022153359.2433474b@gandalf.local.home
Fixes: 0da11bf0cab90 ("cpuidle: haltpoll: Add trace points for guest_halt_poll_ns grow/shrink")
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
