centos7.x升级内核安装BCC(转)
升级内核:
https://www.cnblogs.com/easonscx/p/12598255.html
安装bcc:
yum install -y bcc-tools
export PATH=$PATH:/usr/share/bcc/tools
cacehstat 1 3报错:
raise Exception("Failed to compile BPF text")
解决方法:
安装locate
https://stackoverflow.com/questions/62942975/failed-to-run-bcc-tools-profiler
https://blog.csdn.net/huangyuhuangyu/article/details/80347250
即使是最新内核了,似乎还是无解
https://github.com/iovisor/bcc/issues/484