diff options
author | Joel Granados <joel.granados@kernel.org> | 2025-02-18 10:56:21 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-02-21 14:53:02 +0100 |
commit | 8aeacf257070469ff78a998a968a61d0cadc0de3 (patch) | |
tree | 0fd63923a4dd7ca05f29b377cc7115d0635b9777 /scripts/generate_rust_analyzer.py | |
parent | e6e21a9a39c072a6b1123e5d9982edced10006de (diff) |
perf/core: Move perf_event sysctls into kernel/events
Move ctl tables to two files:
- perf_event_{paranoid,mlock_kb,max_sample_rate} and
perf_cpu_time_max_percent into kernel/events/core.c
- perf_event_max_{stack,context_per_stack} into
kernel/events/callchain.c
Make static variables and functions that are fully contained in core.c
and callchain.cand remove them from include/linux/perf_event.h.
Additionally six_hundred_forty_kb is moved to callchain.c.
Two new sysctl tables are added ({callchain,events_core}_sysctl_table)
with their respective sysctl registration functions.
This is part of a greater effort to move ctl tables into their
respective subsystems which will reduce the merge conflicts in
kerenel/sysctl.c.
Signed-off-by: Joel Granados <joel.granados@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250218-jag-mv_ctltables-v1-5-cd3698ab8d29@kernel.org
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions