summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/hists_cumulate.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-12-22 13:44:10 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-12-23 12:01:37 -0300
commit740b97f9509ac5a015278940747178af4eb0900d (patch)
treeaa1bb483caf1e97401390e52c3344906b536c513 /tools/perf/tests/hists_cumulate.c
parentac931f87a647ca156f65a4c00e7297165e4fa2d8 (diff)
downloadlinux-stable-740b97f9509ac5a015278940747178af4eb0900d.tar.gz
linux-stable-740b97f9509ac5a015278940747178af4eb0900d.tar.bz2
linux-stable-740b97f9509ac5a015278940747178af4eb0900d.zip
perf report: Show progress bar for output resorting
Sometimes it takes a long time to resort hist entries for output in case of a large data file. Show a progress bar window and inform user. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1419223455-4362-3-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/hists_cumulate.c')
-rw-r--r--tools/perf/tests/hists_cumulate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/hists_cumulate.c b/tools/perf/tests/hists_cumulate.c
index 614d5c4978ab..4b8226e19a91 100644
--- a/tools/perf/tests/hists_cumulate.c
+++ b/tools/perf/tests/hists_cumulate.c
@@ -187,7 +187,7 @@ static int do_test(struct hists *hists, struct result *expected, size_t nr_expec
* function since TEST_ASSERT_VAL() returns in case of failure.
*/
hists__collapse_resort(hists, NULL);
- hists__output_resort(hists);
+ hists__output_resort(hists, NULL);
if (verbose > 2) {
pr_info("use callchain: %d, cumulate callchain: %d\n",