aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/builtin-test.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-05-23 05:04:42 -0400
committerJiri Olsa <jolsa@kernel.org>2014-06-01 08:35:11 -0400
commit0506aecce999d4370b979892f88cf1118cfe8dcb (patch)
treec1238405196f00b64298391658ce4001bf6bea4c /tools/perf/tests/builtin-test.c
parenta1891aa4805fa77d98db44ec6e1d93e2921828fb (diff)
perf tests: Add a test case for cumulating callchains
Now it adds a new testcase to verify --children option working correctly. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Arun Sharma <asharma@fb.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Link: http://lkml.kernel.org/r/1401335910-16832-28-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 831f52cae197..802e3cd50f6f 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -140,6 +140,10 @@ static struct test {
140 .func = test__hists_output, 140 .func = test__hists_output,
141 }, 141 },
142 { 142 {
143 .desc = "Test cumulation of child hist entries",
144 .func = test__hists_cumulate,
145 },
146 {
143 .func = NULL, 147 .func = NULL,
144 }, 148 },
145}; 149};