Exception: Failed to attach BPF program b'kprobe__sys_clone' to kprobe b'sys_clone', it's not traceable (either non-existing, inlined, or marked as "notrace")
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
My ubuntu kernel:Linux ubuntu 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The following error occurred when I ran sudo python3 hello_world.py
```
cannot attach kprobe, probe entry may not exist
Traceback (most recent call last):
File "./hello_world.py", line 12, in
BPF(text='int kprobe__sys_clone(void *ctx) { bpf_trace_printk("Hello, World!\\n"); return 0; }').trace_print()
File "/usr/lib/python3/dist-packages/bcc-0.27.0+9371e844-py3.8.egg/bcc/__init__.py", line 487, in __init__
File "/usr/lib/python3/dist-packages/bcc-0.27.0+9371e844-py3.8.egg/bcc/__init__.py", line 1456, in _trace_autoload
File "/usr/lib/python3/dist-packages/bcc-0.27.0+9371e844-py3.8.egg/bcc/__init__.py", line 845, in attach_kprobe
Exception: Failed to attach BPF program b'kprobe__sys_clone' to kprobe b'sys_clone', it's not traceable (either non-existing, inlined, or marked as "notrace")
```
Why is that?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.