Commit 242f7106 authored by Brenden Blanco's avatar Brenden Blanco

Merge pull request #422 from billyom/install_md

INSTALL.md: Fix path for example and some small clarifications
parents 0ef16d9d 4e5aec47
......@@ -13,7 +13,8 @@
## Kernel Configuration
In general, to use these features, a Linux kernel version 4.1 or newer is
required. In addition, the following flags should be set:
required. In addition, the kernel should have been compiled with the following
flags set:
```
CONFIG_BPF=y
......@@ -28,6 +29,9 @@ CONFIG_HAVE_BPF_JIT=y
CONFIG_BPF_EVENTS=y
```
Kernel compile flags can usually be checked by looking at `/proc/config.gz` or
`/boot/config-<kernel-version>`.
# Packages
## Ubuntu - Binary
......@@ -61,7 +65,7 @@ sudo apt-get install libbcc libbcc-examples python-bcc
Test it:
`sudo python /usr/share/bcc/examples/hello_world.py`
`sudo python /usr/share/bcc/examples/task_switch.py`
`sudo python /usr/share/bcc/examples/tracing/task_switch.py`
(Optional) Install pyroute2 for additional networking features
```bash
......
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