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

nettrace --debug -p tcp报错ERROR: failed to load bpf #129

Open
nejisama opened this issue Oct 23, 2024 · 2 comments
Open

nettrace --debug -p tcp报错ERROR: failed to load bpf #129

nejisama opened this issue Oct 23, 2024 · 2 comments

Comments

@nejisama
Copy link

libbpf: prog '__trace___dev_queue_xmit': failed to create kprobe '__dev_queue_xmit+0x0' perf event: Invalid argument
libbpf: prog '__trace___dev_queue_xmit': failed to auto-attach: -22
ERROR: failed to load bpf

错误日志输出如上,下载的最新版本nettrace-1.2.10-1.tl3.x86_64.rpm,内核是5.10
应该如何解决

@menglongdong
Copy link
Collaborator

这两天有点忙,我过两天康康

@menglongdong
Copy link
Collaborator

libbpf: prog '__trace___dev_queue_xmit': failed to create kprobe '__dev_queue_xmit+0x0' perf event: Invalid argument libbpf: prog '__trace___dev_queue_xmit': failed to auto-attach: -22 ERROR: failed to load bpf

错误日志输出如上,下载的最新版本nettrace-1.2.10-1.tl3.x86_64.rpm,内核是5.10 应该如何解决

麻烦手动编译一下master分支的代码试试呢,测试了一下5.10,没看到有问题

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

2 participants