From 4e5aec4769afecdae56f1490e92d355d0e682dda Mon Sep 17 00:00:00 2001 From: Billy O'Mahony Date: Tue, 1 Mar 2016 12:20:36 +0000 Subject: [PATCH] INSTALL.md: Fix path for example and some small clarifications --- INSTALL.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 8a144b1a673c..307165e444f1 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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-`. + # 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