delphix / bcc Goto Github PK
View Code? Open in Web Editor NEWbcc is a toolkit for enabling kernel tracing that leveraged the eBPF kernel framework. It is required by higher level tracing tools like bpftrace.
License: Apache License 2.0
bcc is a toolkit for enabling kernel tracing that leveraged the eBPF kernel framework. It is required by higher level tracing tools like bpftrace.
License: Apache License 2.0
We have disable unit tests as part of #1 to be able to build BCC.
The issue is that the python tests do not setup PYTHONPATH properly and so the tests cannot find bcc:
5/37 Test #5: py_test_bpf_log ..................***Failed 0.02 sec
Traceback (most recent call last):
File "/home/ubuntu/linux-pkg/packages/bcc/tmp/repo/tests/python/test_bpf_log.py", line 5, in <module>
from bcc import BPF
ImportError: No module named bcc
Failed
Changing PYTHONPATH
in bcc/tests/wrapper.sh.in
- PYTHONPATH=@CMAKE_BINARY_DIR@/src/python
+ PYTHONPATH=@CMAKE_BINARY_DIR@/src/python/bcc-python3
seems to fix that issue. This discrepancy may be coming from how dpkg_buildpkg creates a bcc-python2
directory for python2 packages and a bcc-python3
directory for python3 packages.
Even after this change there are still 2 tests that are failing:
py_test_free_bcc_memory
lua_test_standalone
Unit tests also added 7 minutes to the build time in my run, and since we aren't currently doing any changes to bcc I think we can leave them disabled.
I'm leaving this issue opened for future references.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.