Re: [iovisor-dev] A question about build Linux kernel directory

2016-10-21 Thread Brendan Gregg via iovisor-dev
G'Day Nan, On Sun, Oct 16, 2016 at 7:58 PM, Nan Xiao via iovisor-dev < iovisor-dev@lists.iovisor.org> wrote: > Hi all, > > Greetings from me! > > I install the newest Linux kernel 4.8.1 on CentOS 7, and want to try BPF > feature. When I execute bcc/examples/hello_world.py, > the following error i

[iovisor-dev] A question about build Linux kernel directory

2016-10-16 Thread Nan Xiao via iovisor-dev
Hi all, Greetings from me! I install the newest Linux kernel 4.8.1 on CentOS 7, and want to try BPF feature. When I execute bcc/examples/hello_world.py, the following error is generated: # ./hello_world.py chdir(/lib/modules/4.8.1/build): No such file or directory Traceback (most recent call las