Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
242f7106
Commit
242f7106
authored
Mar 01, 2016
by
Brenden Blanco
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #422 from billyom/install_md
INSTALL.md: Fix path for example and some small clarifications
parents
0ef16d9d
4e5aec47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
INSTALL.md
INSTALL.md
+6
-2
No files found.
INSTALL.md
View file @
242f7106
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
## Kernel Configuration
## Kernel Configuration
In general, to use these features, a Linux kernel version 4.1 or newer is
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
CONFIG_BPF=y
...
@@ -28,6 +29,9 @@ CONFIG_HAVE_BPF_JIT=y
...
@@ -28,6 +29,9 @@ CONFIG_HAVE_BPF_JIT=y
CONFIG_BPF_EVENTS=y
CONFIG_BPF_EVENTS=y
```
```
Kernel compile flags can usually be checked by looking at
`/proc/config.gz`
or
`/boot/config-<kernel-version>`
.
# Packages
# Packages
## Ubuntu - Binary
## Ubuntu - Binary
...
@@ -61,7 +65,7 @@ sudo apt-get install libbcc libbcc-examples python-bcc
...
@@ -61,7 +65,7 @@ sudo apt-get install libbcc libbcc-examples python-bcc
Test it:
Test it:
`sudo python /usr/share/bcc/examples/hello_world.py`
`sudo python /usr/share/bcc/examples/hello_world.py`
`sudo python /usr/share/bcc/examples/task_switch.py`
`sudo python /usr/share/bcc/examples/t
racing/t
ask_switch.py`
(Optional) Install pyroute2 for additional networking features
(Optional) Install pyroute2 for additional networking features
```
bash
```
bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment