aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2016-02-25 00:13:35 +0900
committerArnaldo Carvalho de Melo <[email protected]>2016-02-24 16:54:09 -0300
commit1a3906a7e6b9cbfaf2a3d00c310aed8af8e10d92 (patch)
tree0ac85c84b36f065552013f89eaa45414a83a3f4d /tools/perf/util/trace-event-scripting.c
parentaef810ec4e6b638facb6c81803c019906f34f014 (diff)
perf hists: Resort hist entries with hierarchy
For hierarchical output, each entry must be sorted in their rbtree (hroot) properly. Add hists__hierarchy_output_resort() to do the job. Note that those hierarchy entries share the period counts, it'd be important to update the hists->stats only once (for leaves). 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