aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorBeau Belgrave <[email protected]>2023-03-28 16:52:18 -0700
committerSteven Rostedt (Google) <[email protected]>2023-03-29 06:52:09 -0400
commitce58e96e9fe24022312ee1eeefb18ed460efdb18 (patch)
treed9c5d06adf17333aea65b53fe5c5d45c8773cb63 /scripts/gdb/linux
parentf9cce238ee287a2aa580de1a0187390d6ffdcdeb (diff)
tracing/user_events: Limit global user_event count
Operators want to be able to ensure enough tracepoints exist on the system for kernel components as well as for user components. Since there are only up to 64K events, by default allow up to half to be used by user events. Add a kernel sysctl parameter (kernel.user_events_max) to set a global limit that is honored among all groups on the system. This ensures hard limits can be setup to prevent user processes from consuming all event IDs on the system. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Beau Belgrave <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions