summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@fb.com>2016-02-17 19:58:59 -0800
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:50:28 +0300
commitf76bd4696527af1543a99e7be8b2035864376287 (patch)
treef72b255171f8e0a6e0893e2aea99f7a71f82a4c3 /kernel/bpf/arraymap.c
parentccde46f2cb6bc1855e76eedd2d0798e06f579657 (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> Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions