summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/hists_filter.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_filter.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_filter.c')
-rw-r--r--tools/perf/tests/hists_filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/hists_filter.c b/tools/perf/tests/hists_filter.c
index 13c8cf49225e..c5ba924a3581 100644
--- a/tools/perf/tests/hists_filter.c
+++ b/tools/perf/tests/hists_filter.c
@@ -283,6 +283,7 @@ int test__hists_filter(void)
out:
/* tear down everything */
perf_evlist__delete(evlist);
+ reset_output_field();
machines__exit(&machines);
return err;