ftrace: add a script to produce a hierarchical view of a function trace
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 27 Oct 2008 01:05:25 +0000 (02:05 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 27 Oct 2008 10:00:07 +0000 (11:00 +0100)
commitf4a2a0d9a4226846693b5b4462d4350c1bfd58ea
treedc9ba5a5f9ef32cbcd720123ec4d5124e133acbf
parentf8d56f1771e4867acc461146764b4feeb5245669
ftrace: add a script to produce a hierarchical view of a function trace

This script parses a function trace and then produces a hierarchical
view of the function call stack after processing it into a tree.

Changes on V2 thanks to the trace sent by Steven:

- Support both the files "trace" and "trace_pipe" (comments and space
  differences)

- Correct the mini HOW-TO at the beginning.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
scripts/tracing/draw_functrace.py [new file with mode: 0644]