diff options
author | Alexander Yarygin <yarygin@linux.vnet.ibm.com> | 2014-04-25 11:34:07 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-04-29 08:30:43 -0400 |
commit | c0bc8c6d4a2e18e54ef7854a86bc5a47a8e3d04e (patch) | |
tree | 5fe95d845fb2545bb76a5fb6367262446a0442fe | |
parent | 615b8f99f755f8e2701f08cef9c56bd3033891a5 (diff) |
perf tests: Add a test of kvm-390: trace event
Add a s390 specific test of a hardcoded trace event with '-'
in the name.
Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1398440047-6641-4-git-send-email-yarygin@linux.vnet.ibm.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
-rw-r--r-- | tools/perf/tests/parse-events.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index 81dbd5a0894c..deba66955f8c 100644 --- a/tools/perf/tests/parse-events.c +++ b/tools/perf/tests/parse-events.c | |||
@@ -1389,6 +1389,13 @@ static struct evlist_test test__events[] = { | |||
1389 | .check = test__pinned_group, | 1389 | .check = test__pinned_group, |
1390 | .id = 41, | 1390 | .id = 41, |
1391 | }, | 1391 | }, |
1392 | #if defined(__s390x__) | ||
1393 | { | ||
1394 | .name = "kvm-s390:kvm_s390_create_vm", | ||
1395 | .check = test__checkevent_tracepoint, | ||
1396 | .id = 100, | ||
1397 | }, | ||
1398 | #endif | ||
1392 | }; | 1399 | }; |
1393 | 1400 | ||
1394 | static struct evlist_test test__events_pmu[] = { | 1401 | static struct evlist_test test__events_pmu[] = { |