diff options
author | Beau Belgrave <beaub@linux.microsoft.com> | 2023-03-28 16:52:18 -0700 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-03-29 06:52:09 -0400 |
commit | ce58e96e9fe24022312ee1eeefb18ed460efdb18 (patch) | |
tree | d9c5d06adf17333aea65b53fe5c5d45c8773cb63 /lib/audit.c | |
parent | f9cce238ee287a2aa580de1a0187390d6ffdcdeb (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/20230328235219.203-12-beaub@linux.microsoft.com
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions