diff options
author | Namhyung Kim <[email protected]> | 2016-02-25 00:13:36 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-24 16:55:17 -0300 |
commit | 8c01872fe3c17fde1ce74eecf523d6d7fce5ffec (patch) | |
tree | aa7e0e5cd509ad83cb99639f6126417398b75534 /tools/perf/util/trace-event-scripting.c | |
parent | 1a3906a7e6b9cbfaf2a3d00c310aed8af8e10d92 (diff) |
perf hists: Add helper functions for hierarchy mode
The rb_hierarchy_{next,prev,last} functions are to traverse all hist
entries in a hierarchy. They will be used by various function which
supports hierarchy output.
As the rb_hierarchy_next() is used to traverse the whole hierarchy, it
sometime needs to visit entries regardless of current folding state. So
add enum hierarchy_move_dir and pass it to __rb_hierarchy_next() for
those cases.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions