bcc icon indicating copy to clipboard operation
bcc copied to clipboard

question: `LLVM ERROR: ` error with no indication

Open yuluo-yx opened this issue 1 year ago • 3 comments

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!

yuluo-yx avatar Mar 26 '24 04:03 yuluo-yx

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!!!

djh12345678 avatar Sep 30 '24 07:09 djh12345678

I don't have ubuntu 20.04 system. How about other bcc tools? Also failed?

yonghong-song avatar Sep 30 '24 16:09 yonghong-song

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

wan-nan avatar Dec 18 '24 09:12 wan-nan