perf diff: Get rid of hists__compute_resort()
authorNamhyung Kim <namhyung@kernel.org>
Sat, 27 Dec 2014 05:06:30 +0000 (14:06 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jan 2015 16:24:33 +0000 (13:24 -0300)
commit38259a170dfab4865968b592ae90b373e9f7d5b5
treeaa97f15d0ff1628a1055ef8800ebf51893964f02
parent5594b557aacaafbba7ad8e5ed29005df883bfe3a
perf diff: Get rid of hists__compute_resort()

The hists__compute_resort() is to sort output fields based on the
given field/criteria.  This was done without the sort list but as we
added the field to the sort list, we can do it with normal
hists__output_resort() using the ->sort callback.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1419656793-32756-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c