Server experiencing warning logs "perf buffer not large enough"
Issue
- Server experiencing warning logs "perf buffer not large enough"
------------[ cut here ]------------
[ 59.699984] perf buffer not large enough
[ 59.699994] WARNING: CPU: 2 PID: 4394 at kernel/trace/trace_event_perf.c:399 perf_trace_buf_alloc+0x7f/0x90
...
...
[ 59.700056] Call Trace:
[ 59.700063] kprobe_perf_func+0xb3/0x260
[ 59.700067] ? do_execveat_common.isra.37+0x1/0x8c0
[ 59.700068] ? do_execveat_common.isra.37+0x5/0x8c0
[ 59.700072] kprobe_ftrace_handler+0x90/0xf0
[ 59.700076] ftrace_ops_assist_func+0x6e/0xe0
[ 59.700078] 0xffffffffc07220c8
[ 59.700080] ? do_execveat_common.isra.37+0x1/0x8c0
[ 59.700082] do_execveat_common.isra.37+0x5/0x8c0
[ 59.700083] __x64_sys_execve+0x32/0x40
[ 59.700087] do_syscall_64+0x5b/0x1a0
[ 59.700090] entry_SYSCALL_64_after_hwframe+0x65/0xca
[ 59.700091] RIP: 0033:0x7f0db3ee405b
Environment
- Red Hat Enterprise Linux 8.
- Red Hat Enterprise Linux 9.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.