Skip to content

Commit

Permalink
INSTALL.md: Fix path for example and some small clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy O'Mahony committed Mar 1, 2016
1 parent 0ef16d9 commit 4e5aec4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4e5aec4

Please sign in to comment.