bcc
bcc copied to clipboard
question: `LLVM ERROR: ` error with no indication
env:
- ubuntu 20.04
- python3
root@yuluo-Inspiron-3647:/usr/share/bcc/tools# ./tcptop
LLVM ERROR:
root@yuluo-Inspiron-3647:/usr/share/bcc/tools# python3 ./tcptop
LLVM ERROR:
Any replies would be appreciated!
env:
- ubuntu 20.04
- python3
root@yuluo-Inspiron-3647:/usr/share/bcc/tools# ./tcptop LLVM ERROR: root@yuluo-Inspiron-3647:/usr/share/bcc/tools# python3 ./tcptop LLVM ERROR:Any replies would be appreciated!
same error with you,I will give up to use bcc!!!
I don't have ubuntu 20.04 system. How about other bcc tools? Also failed?
What's your kernel version? Have you tried running the script with sudo?
I encountered the same problem, but after running with sudo, I got the following output in addition to the LLVM ERROR::
libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?
libbpf: failed to find valid kernel BTF