Commit c989d1ab authored by 4ast's avatar 4ast

Merge pull request #51 from iovisor/marcol_dev

Update readme and FAQs
parents 5270dcd5 35de0506
......@@ -14,3 +14,17 @@ Q: hello_world.py still fails with:
bpf: Operation not permitted
Exception: Failed to load BPF program hello
A: sudo
Q: How do I fulfill the Linux kernel version requirement?
A: You need to obtain a recent version of the Linux source code
(please look at the README for the exact version), enable the
configuration options listed in the README file, install the image,
modules and headers, update your bootloader and reboot into the new
kernel.
If you want to compile your own kernel, you can fetch the sources
from kernel.org or through your Linux distribution.
To install, you need all of the following:
make install
make modules_install
make headers_install INSTALL_HDR_PATH=/usr/local/
......@@ -43,6 +43,7 @@ To get started using this toolchain, one needs:
* `CONFIG_BPF_JIT=y`
* `CONFIG_HAVE_BPF_JIT=y`
* `CONFIG_BPF_EVENTS=y` [optional, for kprobes]
* Linux kernel headers, 4.1 or newer
* LLVM 3.7 or newer, compiled with BPF support (default=on)
* Clang 3.7, built from the same tree as LLVM
* pyroute2, version X.X (currently master, tag TBD) or newer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment