- Jan 16, 2019
-
-
Alexey Ivanov authored
-
- Jan 03, 2019
-
-
Alexey Ivanov authored
* fixed shebangs in tools (and lib) * fixed shebangs in examples * do not mangle shebangs in rpm spec * renamed style-check.sh to c-style-check.sh * factored out python linter to a separate file * added shebang validation to the py-style-check * added shebangs to all python executables
-
- Aug 16, 2017
-
-
Brenden Blanco authored
Fixes: #1280 Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
- Apr 20, 2017
-
-
Brenden Blanco authored
Compiled BPF programs must consist of a single contiguous code block, meaning trying to call other function entry points (besides the kernel-defined helpers) is not possible. The bcc frontend didn't explicitly prohibit this, even though the program would fail to compile/load. Add an explicit check and error message. Fixes: #653 Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
- Mar 29, 2017
-
-
Teng Qin authored
-
- Feb 15, 2016
-
-
Brendan Gregg authored
-
- Jan 27, 2016
-
-
Brenden Blanco authored
In order not to miss some files in the tools and examples source directories, use cmake file(GLOB) to collect relevant files. To ease the implementation, move all tools to be .py suffixed in the source, but sans-suffix in the installation (same as before) In addition, to prevent future API breakage confusion (though of course that may still happen), use CDLL("libbcc.so.0") in the bcc __init__.py. Fixes: #317 Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- Jan 14, 2016
-
-
Alexei Starovoitov authored
no functional changes Signed-off-by:
Alexei Starovoitov <ast@fb.com>
-
- Sep 03, 2015
-
-
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>
-
- Aug 26, 2015
-
-
Brendan Gregg authored
-
- Aug 24, 2015
-
-
Brenden Blanco authored
Calling delete on an array type map entry does not have an effect. Instead, the entry needs to be zeroed out, since the array slot always exists. To avoid unnecessary calls to update(), only call update() when the map type is array-like. The type was not exposed to python up until now, so add it. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- Aug 20, 2015
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- Aug 19, 2015
-
-
Brenden Blanco authored
Per feedback on the attach_kprobe api, change up the arguments to remove the load_func that typically preceeds the call. Instead, move this inside the attach_kprobe implementation. Also, this makes attach_kprobe need to be non-static. The same applies to attach_kretprobe. Old: fn = b.load_func("hello", BPF.KPROBE) BPF.attach_kprobe(fn, "sys_clone") New: b.attach_kprobe(event="sys_clone", fn_name="hello") Note that the kwarg style is not required, but I fixed up the current usages to provide readability. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- Aug 18, 2015
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-