Thread (16 messages) flat view 16 messages, 4 authors, 2025-03-06

Re: [PATCH 5/8] events: Move perf_event sysctls into kernel/events

From: Peter Zijlstra <peterz@infradead.org>
Date: 2025-02-18 10:35:26
Also in: linux-acpi, linux-fsdevel, linux-perf-users, linux-s390, lkml, sparclinux

On Tue, Feb 18, 2025 at 10:56:21AM +0100, Joel Granados wrote:
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>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help