- Jul 08, 2020
-
-
Chen HaoNing authored
Replace kprobe function "blk_account_io_completion" to "blk_account_io_done" for kernel version >= 5.8.0 The kernel function "blk_account_io_completion" is not available anymore as attach point of Kprobe as of kernel version 5.8.0. Therefore, after discussions, we decided to use function "blk_account_io_done" instead in every kprobe attachment to "blk_account_io_completion".
-
- May 28, 2019
-
-
Adam Drescher authored
-
- Feb 27, 2019
-
-
Gary Lin authored
When using python3, 'print' will output the bytes arrays with the "b" prefix. Switch to printb to get rid of the prefix. Signed-off-by:
Gary Lin <glin@suse.com>
-
- Feb 03, 2019
-
-
Xiaozhou Liu authored
- chmod +x dddos.py mallocstacks.py stack_buildid_example.py - Handle Ctrl-C keyboard interrupt for dddos.py, disksnoop.py, hello_perf_output.py, stacksnoop.py and trace_perf_output.py
-
- 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
-
- Jul 24, 2016
-
-
Brendan Gregg authored
-
- Nov 04, 2015
-
-
Brenden Blanco authored
Examples directory has been growing, so add a bit of organization. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- Sep 16, 2015
-
-
Brendan Gregg authored
-
- Sep 09, 2015
-
-
Brenden Blanco authored
The previous patch #195 for autoloading of kprobes only did it for trace_print. Turn this feature on for all trace_* functions. This requires that these functions are also no longer staticmethods. Enable the feature in examples/disksnoop.py Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- Sep 06, 2015
-
-
Brenden Blanco authored
* Per suggestion in #149 Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- Sep 05, 2015
-
-
Brenden Blanco authored
* Per suggestion in #149 Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Brendan Gregg authored
-
- 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 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
-