perf tests: Add a test of kvm-390: trace event
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Fri, 25 Apr 2014 15:34:07 +0000 (17:34 +0200)
committerJiri Olsa <jolsa@kernel.org>
Tue, 29 Apr 2014 12:30:43 +0000 (14:30 +0200)
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>
tools/perf/tests/parse-events.c

index 81dbd5a0894c864124639f4175a11eef1ae4eef5..deba66955f8c8ecf7eec342abc9696d16b3173f6 100644 (file)
@@ -1389,6 +1389,13 @@ static struct evlist_test test__events[] = {
                .check = test__pinned_group,
                .id    = 41,
        },
+#if defined(__s390x__)
+       {
+               .name  = "kvm-s390:kvm_s390_create_vm",
+               .check = test__checkevent_tracepoint,
+               .id    = 100,
+       },
+#endif
 };
 
 static struct evlist_test test__events_pmu[] = {