Skip to content

Commit

Permalink
perf tests: Add a test of kvm-390: trace event
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Yarygin authored and Jiri Olsa committed Apr 29, 2014
1 parent 615b8f9 commit c0bc8c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/perf/tests/parse-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit c0bc8c6

Please sign in to comment.