- 09 Sep, 2015 4 commits
-
-
Brenden Blanco authored
Since kprobe functions will have a different prototype than the kernel symbols they are attaching to, require that the user prefix the trace function with a kprobe__ name to denote intent. kretprobe__ prefix is also supported. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* As @brendangregg pointed out, users will probably assume that handily-named C functions that can be auto-loaded will be all the time, rather than just in the singleton case. This is pretty easy to implement, so changing the behavior. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Support automatic kprobe event detection in common case
-
Brenden Blanco authored
* In the simple case, a user only creates 1 C function to be used with kprobes. Detect this common case and don't require the user to repeat themselves by passing the fn_name to attach_kprobe(). e.g.: BPF(text='int sys_clone(void *ctx) {/*do stuff*/}').trace_print() Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 08 Sep, 2015 4 commits
-
-
4ast authored
Suppress None return when trace_pipe drops lines
-
Brenden Blanco authored
* When a "CPU: X Lost N events" line came on the trace_pipe, trace_fields would return None and cause exceptions in callers that do (a, b, ...) = b.trace_fields() type of calls. Instead, keep reading from trace_pipe when such messages come. Fixes: #187 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Add BPF_HASH macro with variadic arguments
-
Brenden Blanco authored
print_log2_hist() for #143
-
- 07 Sep, 2015 5 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- 06 Sep, 2015 2 commits
-
-
Brenden Blanco authored
* Per suggestion in #149 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Usage: BPF_HASH(tablename, key_type=u64, leaf_type=u64) 2nd and 3rd arguments are optional in the C++ default argument style Fixes: #135 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 05 Sep, 2015 4 commits
-
-
4ast authored
Shorten trace_readline_fields to trace_fields
-
Brenden Blanco authored
* Per suggestion in #149 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
simplify code using new features
-
Brendan Gregg authored
-
- 04 Sep, 2015 8 commits
-
-
4ast authored
Reorganize cmake, some cleanups and test fixes.
-
Brenden Blanco authored
* After a kernel update, the binary of schedule function changed offset, and the attachment point updated. Since this is just a test case, pick a different function to test. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* The c++ exception code was unused, now it is just c macro style "exceptions" Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Update README.md and INSTALL.md, specfile dependencies
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* These files are required to build the test rpm Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Add some runtime dependencies in INSTALL.md * make and gcc are required at runtime, so add them to libbcc Requires: Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 03 Sep, 2015 10 commits
-
-
Brenden Blanco authored
* Some changes to python API examples * Reflect non-rc kernel availability in install doc * Add binary rpm section to install doc * Remove docker build instructions Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Fixes for when using clang/llvm as CC/CXX
-
4ast authored
Enhance check for presence of static-libstdc++
-
Brenden Blanco authored
* Clang does not generate code to initialize the entire union when initializing a nested struct. This is the case for union bpf_attr. As a workaround, call memset explicitly. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Fixes a link error on Ubuntu when static-libstdc++ is not installed. Reported-by: Denis V. Lunev <den@openvz.org> Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Include missed spec files in s/bpf/bcc/ rename
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Rename python module name to 'bcc' from 'bpf'
-
Brenden Blanco authored
* Rename python module to bcc * Rename python-bpf (deb,rpm) package to python-bcc * Pending this change, I will likely re-tag 0.1.6, and upload the bcc package to pypi.python.org Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 02 Sep, 2015 3 commits
-
-
yonghong-song authored
Update tag to v0.1.6, include finall llvm 3.7.0 release
-
Brenden Blanco authored
* This script can be run by buildbot to generate the debian files e.g.: PARALLEL=4 scripts/build-deb.sh Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-