failed to create kprobe 'mutex_lock' using klockstat in kernel 6.7
Open
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
Hi, when I using klockstat in libbpf_example, I have the following problem,
```bash
libbpf: prog 'kprobe_mutex_lock': failed to create kprobe 'mutex_lock+0x0' pey
libbpf: prog 'kprobe_mutex_lock': failed to auto-attach: -2
failed to attach BPF object
```
it seems the latest kernel does not have mutex_lock. Instead, it has __mutex_lock, and there is a similar problem for kprobe_mutex_lock_interruptible. Do you have any idea how to fix that?
Much thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.