Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libbpf-tools:slabratetop can't find kmem_cache_alloc kprobe #5115

Open
jeromemarchand opened this issue Oct 4, 2024 · 0 comments
Open

libbpf-tools:slabratetop can't find kmem_cache_alloc kprobe #5115

jeromemarchand opened this issue Oct 4, 2024 · 0 comments

Comments

@jeromemarchand
Copy link
Contributor

The libbpf tool slabratetop cant find the kmem_cache_alloc kprobe on a recent kernel (on RHEL-10 beta):

$ slabratetop
libbpf: prog 'kmem_cache_alloc': failed to create kprobe '+0x0' perf event: No such file or directory
libbpf: prog 'kmem_cache_alloc': failed to auto-attach: -2
failed to attach BPF programs: -2
$ uname -r
6.11.0-0.rc5.23.el10.x86_64

I assume the function have been inlined. There is tracepoint available (kmem/kmem_cache_alloc), but it doesn't provides all the data used by the tool such as the cache name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant