summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/hists_link.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-05-12 14:43:18 +0900
committerJiri Olsa <jolsa@kernel.org>2014-05-21 11:45:37 +0200
commitf21d1815295ee79ce0767cb08d6f3ffa3a3b5cfe (patch)
treec80577435fae0bc62cf654b7758c089cce0f25f4 /tools/perf/tests/hists_link.c
parent4e754e1c7fe02e6b104e61f7e06e9895527e8ad3 (diff)
perf tests: Add a testcase for histogram output sorting
With new output fields option, its internal implementation was changed so add a new testcase to verify whether it breaks things. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1400480762-22852-21-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/tests/hists_link.c')
-rw-r--r--tools/perf/tests/hists_link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/hists_link.c b/tools/perf/tests/hists_link.c
index 4e783db60bba..5ffa2c3eb77d 100644
--- a/tools/perf/tests/hists_link.c
+++ b/tools/perf/tests/hists_link.c
@@ -332,6 +332,7 @@ int test__hists_link(void)
out:
/* tear down everything */
perf_evlist__delete(evlist);
+ reset_output_field();
machines__exit(&machines);
return err;