summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-01-18 10:23:59 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-02-03 11:13:11 -0300
commit01441af5df438a171bce36bc3c7cfb588bc98a7a (patch)
treef30be6d560deee5bec203963aa215673b0ddf877 /tools/perf/builtin-top.c
parent8eb22c984eb9eeaed47130f5679acd367af69678 (diff)
downloadlinux-01441af5df438a171bce36bc3c7cfb588bc98a7a.tar.gz
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-top.c')
0 files changed, 0 insertions, 0 deletions