diff options
author | Alexei Starovoitov <ast@fb.com> | 2016-02-17 19:58:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-20 00:21:44 -0500 |
commit | a6ffe7b9df6228d11c5689914eceb488bc4e38df (patch) | |
tree | ec8f20a73795ff16ed02887eb72870eeeee186a8 /samples/bpf/tracex5_kern.c | |
parent | d5a3b1f691865be576c2bffa708549b8cdccda19 (diff) |
samples/bpf: offwaketime example
This is simplified version of Brendan Gregg's offwaketime:
This program shows kernel stack traces and task names that were blocked and
"off-CPU", along with the stack traces and task names for the threads that woke
them, and the total elapsed time from when they blocked to when they were woken
up. The combined stacks, task names, and total time is summarized in kernel
context for efficiency.
Example:
$ sudo ./offwaketime | flamegraph.pl > demo.svg
Open demo.svg in the browser as FlameGraph visualization.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/tracex5_kern.c')
0 files changed, 0 insertions, 0 deletions