perf diff: Use internal rb tree for compute resort
authorNamhyung Kim <[email protected]>
Mon, 10 Dec 2012 08:29:56 +0000 (17:29 +0900)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 24 Jan 2013 19:40:06 +0000 (16:40 -0300)
commit66f97ed3ac44c24958171bbc5cc04896147752b7
tree6cd4c54d00a40853c5108367315b0aa90f2fc7d4
parentce74f60eab3cc8b7a3b0cb9c29ec9b1e1abac7d2
perf diff: Use internal rb tree for compute resort

There's no reason to run hists_compute_resort() using output tree.
Convert it to use internal tree so that it can remove unnecessary
_output_resort.

Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-diff.c
tools/perf/util/hist.c
tools/perf/util/hist.h