cpudist: Summarize task on-CPU time as histograms (#585)
authorSasha Goldshtein <goldshtn@gmail.com>
Wed, 29 Jun 2016 00:57:01 +0000 (03:57 +0300)
committer4ast <alexei.starovoitov@gmail.com>
Wed, 29 Jun 2016 00:57:01 +0000 (02:57 +0200)
commit40975ab372a49ed05c6c77695e14490f41c8bf8a
tree07b7eed3e738535e306b7d0675f9c037be2fb2e5
parent3af580eb5a399b9dfafc8ec40b6c71e23969a60a
cpudist: Summarize task on-CPU time as histograms (#585)

* 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
README.md
man/man8/cpudist.8 [new file with mode: 0644]
tools/cpudist.py [new file with mode: 0755]
tools/cpudist_example.txt [new file with mode: 0644]