diff options
author | Jiri Olsa <jolsa@kernel.org> | 2016-01-18 12:23:59 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-02-03 17:13:11 +0300 |
commit | 01441af5df438a171bce36bc3c7cfb588bc98a7a (patch) | |
tree | f30be6d560deee5bec203963aa215673b0ddf877 /tools/perf/builtin-report.c | |
parent | 8eb22c984eb9eeaed47130f5679acd367af69678 (diff) | |
download | linux-01441af5df438a171bce36bc3c7cfb588bc98a7a.tar.xz |
perf hists: Factor output_resort from hists__output_resort
Currently hists__output_resort() depends on hists based on hists_evsel
struct, but we need to be able to sort common hists as well.
Cutting out the sorting base sorting code into output_resort
function, so it can be reused in following patch.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1453109064-1026-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
0 files changed, 0 insertions, 0 deletions