diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-05-12 08:43:53 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-06-12 10:53:22 -0400 |
commit | 4ebbcb84b19b8472fb5b9c8be89b3d0ea17c902e (patch) | |
tree | c0f3dad6de3aa5ead4b31c59e06e83e8ea81364e /tools/perf/tests/builtin-test.c | |
parent | 822c45db6398a69879b0539f0819de02b813493c (diff) |
perf tests: Add test for caching dso file descriptors
Adding test that setup test_dso_data__fd_limit and test
dso data file descriptors are cached appropriately.
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1401892622-30848-13-git-send-email-jolsa@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.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c index 9677a5c6a366..b8a63583566f 100644 --- a/tools/perf/tests/builtin-test.c +++ b/tools/perf/tests/builtin-test.c | |||
@@ -52,10 +52,14 @@ static struct test { | |||
52 | .func = test__pmu, | 52 | .func = test__pmu, |
53 | }, | 53 | }, |
54 | { | 54 | { |
55 | .desc = "Test dso data interface", | 55 | .desc = "Test dso data read", |
56 | .func = test__dso_data, | 56 | .func = test__dso_data, |
57 | }, | 57 | }, |
58 | { | 58 | { |
59 | .desc = "Test dso data cache", | ||
60 | .func = test__dso_data_cache, | ||
61 | }, | ||
62 | { | ||
59 | .desc = "roundtrip evsel->name check", | 63 | .desc = "roundtrip evsel->name check", |
60 | .func = test__perf_evsel__roundtrip_name_test, | 64 | .func = test__perf_evsel__roundtrip_name_test, |
61 | }, | 65 | }, |