INSTALL.md: Fix path for example and some small clarifications
authorBilly O'Mahony <billy.o.mahony@intel.com>
Tue, 1 Mar 2016 12:20:36 +0000 (12:20 +0000)
committerBilly O'Mahony <billy.o.mahony@intel.com>
Tue, 1 Mar 2016 14:58:46 +0000 (14:58 +0000)
INSTALL.md

index 8a144b1..307165e 100644 (file)
@@ -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