OpenCloudOS / nettrace

nettrace is a eBPF-based tool to trace network packet and diagnose network problem.
Other
337 stars 82 forks source link

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

Open nejisama opened 1 month ago

nejisama commented 1 month ago

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

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

menglongdong commented 4 weeks ago

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

menglongdong commented 3 weeks ago

libbpf: prog 'trace_dev_queue_xmit': failed to create kprobe 'dev_queue_xmit+0x0' perf event: Invalid argument libbpf: prog '_tracedev_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,没看到有问题