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
66695702
Commit
66695702
authored
Jun 11, 2015
by
Yonghong Song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an FAQ entry to provide workaround for potential bpf pkg installation problem.
Signed-off-by:
Yonghong Song
<
yhs@plumgrid.com
>
parent
b25d3b80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
FAQ.txt
FAQ.txt
+6
-0
README.md
README.md
+0
-2
No files found.
FAQ.txt
View file @
66695702
...
...
@@ -10,6 +10,12 @@ A: make sure to 'make install' and add the directory
where libbpfprog.so was installed into your LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
Q: hello_world.py fails with:
ImportError: No module named bpf
A: checkout "sudo make install" output to find out bpf package installation site,
add it to the PYTHONPATH env variable before running the program.
sudo bash -c 'PYTHONPATH=/usr/lib/python2.7/site-packages python examples/hello_world.py'
Q: hello_world.py still fails with:
bpf: Operation not permitted
Exception: Failed to load BPF program hello
...
...
README.md
View file @
66695702
...
...
@@ -73,8 +73,6 @@ sudo python examples/hello_world.py
```
Change
`CMAKE_PREFIX_PATH`
if llvm is installed elsewhere.
Change CMAKE_INSTALL_PREFIX to /usr/local if your python package installation
is under /usr/local install /usr.
### Cleaning up
...
...
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