summaryrefslogtreecommitdiff
path: root/tools/perf/tests/builtin-test.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-05-12 05:43:18 (GMT)
committerJiri Olsa <jolsa@kernel.org>2014-05-21 09:45:37 (GMT)
commitf21d1815295ee79ce0767cb08d6f3ffa3a3b5cfe (patch)
treec80577435fae0bc62cf654b7758c089cce0f25f4 /tools/perf/tests/builtin-test.c
parent4e754e1c7fe02e6b104e61f7e06e9895527e8ad3 (diff)
downloadlinux-f21d1815295ee79ce0767cb08d6f3ffa3a3b5cfe.tar.xz
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/builtin-test.c')
-rw-r--r--tools/perf/tests/builtin-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index 5e0764b..831f52c 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -136,6 +136,10 @@ static struct test {
.func = test__thread_mg_share,
},
{
+ .desc = "Test output sorting of hist entries",
+ .func = test__hists_output,
+ },
+ {
.func = NULL,
},
};