root@localhost:/usr/share/bcc/tools# filetop 5 10
sh: modprobe: command not found
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module)
chdir(/lib/modules/4.9.186-perf-g4773f96/build): No such file or directory
Traceback (most recent call last):
File "/usr/share/bcc/tools/filetop", line 161, in
b = BPF(text=bpf_text)
File "/usr/lib/python2.7/dist-packages/bcc/init.py", line 343, in init
raise Exception("Failed to compile BPF module %s" % (src_file or ""))
Exception: Failed to compile BPF module
root@localhost:/usr/share/bcc/tools# filetop 5 10 sh: modprobe: command not found Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) chdir(/lib/modules/4.9.186-perf-g4773f96/build): No such file or directory Traceback (most recent call last): File "/usr/share/bcc/tools/filetop", line 161, in
b = BPF(text=bpf_text)
File "/usr/lib/python2.7/dist-packages/bcc/init.py", line 343, in init
raise Exception("Failed to compile BPF module %s" % (src_file or ""))
Exception: Failed to compile BPF module