bpf-slabratetop fails to start in RHEL-10
Issue
bpf-slabratetopfails to start inRHEL-10bpf-slabratetopfails to start with below error:
# bpf-slabratetop
libbpf: prog 'kmem_cache_alloc': failed to create kprobe 'kmem_cache_alloc+0x0' perf event: No such file or directory
libbpf: prog 'kmem_cache_alloc': failed to auto-attach: -2
failed to attach BPF programs: -2
Environment
- Red Hat Enterprise Linux 10
- bpf-slabratetop
- libbpf-tools-0.32.0-1.el10
- bcc-tools
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.