Hi Arnaldo, This is what I talked to Jiri yesterday, and it can be a common basis of both event group and multiple diff patchset. The point is using internal input or collapsed rb tree to sort hist entries rather than output tree with unnessary resort.
Please take a look. Thanks, Namhyung Cc: Jiri Olsa <jo...@redhat.com> Cc: Stephane Eranian <eran...@google.com> Cc: Namhyung Kim <namhyung....@lge.com> Namhyung Kim (3): perf hists: Exchange order of comparing items when collapsing hists perf hists: Link hist entries before inserting to an output tree perf diff: Use internal rb tree for compute resort tools/perf/builtin-diff.c | 95 +++++++++++++++++++++-------------------------- tools/perf/util/hist.c | 51 ++++++++++++++++++------- 2 files changed, 80 insertions(+), 66 deletions(-) -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/