kernel - Trying to run eBPF BCC Tools offcputime fails with error - Ask Ubuntu
$ /usr/share/bcc/tools/offcputime
the above command says can't find directory: /lib/modules/4.9.0-040900rc2-generic/kernel/build
.
i think has not having linux-tools kernel.
can't install linux tools latest kernel.
e: unable locate package linux-tools-4.9.0-040900rc2-generic
or maybe installed wrong dpkg... got .deb files here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/
bcc needs kernel headers compile ebpf programs. you'll need download , install .deb
files kernel headers.
(i able reproduce bug , fix installing 2 .deb
files http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/ kernel headers.)
Comments
Post a Comment