Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version. #11
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version.
chdir(/lib/modules/4.14.243-gff8eae656fe6-ab8007944/build): No such file or directory
Traceback (most recent call last):
File "/usr/share/bcc/tools/opensnoop", line 261, in
b = BPF(text='')
File "/usr/lib/python3/dist-packages/bcc/init.py", line 475, in init
raise Exception("Failed to compile BPF module %s" % (src_file or ""))
Exception: Failed to compile BPF module
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version. chdir(/lib/modules/4.14.243-gff8eae656fe6-ab8007944/build): No such file or directory Traceback (most recent call last): File "/usr/share/bcc/tools/opensnoop", line 261, in
b = BPF(text='')
File "/usr/lib/python3/dist-packages/bcc/init.py", line 475, in init
raise Exception("Failed to compile BPF module %s" % (src_file or ""))
Exception: Failed to compile BPF module
Pixel4 运行 opensnoop 提示运行错误