- 30 Jun, 2016 2 commits
-
-
Sasha Goldshtein authored
Add -O switch, which directs cpudist to collect off-CPU time statistics. Also restructure the code slightly and added examples as appropriate.
-
Sasha Goldshtein authored
Due to an incorrectly referenced global variable, specifying a pid to filter with a kernel probe produced an error. This is now fixed, for example: ``` TIME PID COMM FUNC 23:46:00 29967 bash sched_switch 23:46:01 29967 bash sched_switch 23:46:01 29967 bash sched_switch ^C ```
-
- 29 Jun, 2016 1 commit
-
-
Sasha Goldshtein authored
* cpudist: summarize on-CPU time per task as a histogram This is the initial implementation of the tool itself, which uses the sched:sched_switch tracepoint to probe task switches. This is a slightly more robust approach than using a kernel function, such as finish_task_switch. When native BCC support for tracepoints is introduced, this tool can be reimplemented and reliance on the current Tracepoint module can be removed. * cpudist: add man page and examples
-
- 27 Jun, 2016 4 commits
-
-
Brendan Gregg authored
tools: fix getting {ext4,btrfs}_file_operations address (ref #583)
-
ygrek authored
-
Brendan Gregg authored
ext4slower: fix getting kallsyms address
-
ygrek authored
$ grep ext4_file_operations /proc/kallsyms ffffffffc0331340 r ext4_file_operations [ext4]
-
- 26 Jun, 2016 4 commits
-
-
Mark Drayton authored
* tcpretrans: support full IPv6 addresses, fix --lossprobe * tcpaccept: support full IPv6 addresses, fix timestamps * tcpconnect: support full IPv6 addresses, fix timestamps * tcpconnlat: support full IPv6 addresses, fix timestamps
-
Brenden Blanco authored
Update installation instructions for Fedora
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
clang 3.7.0 is known to be buggy, and we recommend that people use 3.7.1. Update install instructions to point to 3.7.1. Compiling BCC on Fedora requires elfutils-libelf-devel. Add this package to the install instructions for Fedora.
-
- 23 Jun, 2016 2 commits
-
-
Brendan Gregg authored
Do not throw exception on ipv6 packets in tcpretrans
-
Ivan Babrou authored
-
- 22 Jun, 2016 1 commit
-
-
Brendan Gregg authored
* kernel version guide * update
-
- 21 Jun, 2016 2 commits
-
-
4ast authored
Fix nits for /tmp/perf-pid.map support
-
Mark Drayton authored
-
- 20 Jun, 2016 1 commit
-
-
4ast authored
Add support for reading symbols from /tmp/perf-pid.map
-
- 15 Jun, 2016 6 commits
-
-
Brendan Gregg authored
fix install instruction to mention llvm >= 3.7.1
-
Brendan Gregg authored
-
Alexei Starovoitov authored
Signed-off-by:
Alexei Starovoitov <ast@fb.com>
-
Mark Drayton authored
This adds basic support for /tmp/perf-pid.map. To cope with processes in containers, it supports: * mapping from BCC's PID namespace to the target process's PID namespace using /proc/pid/status * resolving a target process's root filesystem using /proc/pid/root
-
4ast authored
Check for NULL result from bpf_attach_kprobe
-
Brenden Blanco authored
The check for NULL in the return value from C functions was comparing to None incorrectly, causing an error check to pass improperly. Simply check the truthiness of the return instead seems to be more resilient. Add a test as well. Fixes: #568 Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 13 Jun, 2016 3 commits
-
-
Brenden Blanco authored
libbpf.c: Prepend BPF syscall error to log_bug when debug is enabled.
-
Quentin Monnet authored
When BPF syscall fails and DEBUG_FLAG has been provided to a Python caller script, the BPF error string would be printed only if log_buf had not been filled by the kernel. This commit removes this requirement, printing the error string even if log_buf is not empty. Signed-off-by:
Quentin Monnet <quentin.monnet@6wind.com>
-
Quentin Monnet authored
Commit 759029fe provided an option to store the output from BPF syscall into a buffer (and not to print it systematically to standard output) on program load in libbpf.c. But doing so, it only stores the content of attr.log_buf, while the error string--resulting from a failed BPF syscall--is no more displayed when the DEBUG_BPF flag is used in the Python script responsible for converting and injecting the code. This commit proposes a fix for this bug by printing the error message (associated to the return value from the syscall) from the Python caller, when all the following conditions are met: - the syscall fails, - the DEBUG_BPF flag has been provided, and - log_buf is empty (has not been filled by kernel). Note: when DEBUG_BPF is not provided, the error string is printed in the C wrapper in libbpf.c (bpf_prog_load) anyway. Fixes: 759029fe ("Add option for custom log string to bpf_prog_load") Signed-off-by:
Quentin Monnet <quentin.monnet@6wind.com>
-
- 08 Jun, 2016 1 commit
-
-
Brendan Gregg authored
Change kernel/user stacks order
-
- 07 Jun, 2016 4 commits
-
-
Evgeny Vereshchagin authored
Closes #559
-
Evgeny Vereshchagin authored
see #559
-
Brendan Gregg authored
offcputime -f: don't miss backtrace bounds
-
Evgeny Vereshchagin authored
See #559
-
- 06 Jun, 2016 3 commits
-
-
Brendan Gregg authored
Update manpage for offcputime
-
Brendan Gregg authored
Fix tools[/old]/offcputime -p PID
-
Evgeny Vereshchagin authored
Closes #558
-
- 03 Jun, 2016 2 commits
-
-
Evgeny Vereshchagin authored
We should extract pid before THREAD_FILTER
-
4ast authored
execsnoop: use BPF_PERF_OUTPUT, add PPID
-
- 02 Jun, 2016 2 commits
-
-
Mark Drayton authored
-
Mark Drayton authored
-
- 01 Jun, 2016 2 commits
-
-
Brenden Blanco authored
set use_errno to True for libbcc.so
-
Brenden Blanco authored
Add user space stack traces to offcputime
-