summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/builtin-test.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-08-01 20:02:32 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-08-02 16:33:27 -0300
commitff3e33b075fe45c669e2cb27489d570e29d3abeb (patch)
tree31838e38676ed1918ad66f6a96ef0c6fac772825 /tools/perf/tests/builtin-test.c
parent741c74f55e8a66f3bc5bbc29dc162c952759e47b (diff)
downloadblackbird-op-linux-ff3e33b075fe45c669e2cb27489d570e29d3abeb.tar.gz
blackbird-op-linux-ff3e33b075fe45c669e2cb27489d570e29d3abeb.zip
perf tests: Add test for bitmap_scnprintf function
Automatically test the bitmap_scnprintf function. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> 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/1470074555-24889-5-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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 10eb30686c9c..778668a2a966 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -226,6 +226,10 @@ static struct test generic_tests[] = {
.func = test__is_printable_array,
},
{
+ .desc = "Test bitmap print",
+ .func = test__bitmap_print,
+ },
+ {
.func = NULL,
},
};
OpenPOWER on IntegriCloud