From: Alexander Yarygin Subject: [PATCH 3/3] perf-test: Add a test of kvm-390: trace event Date: Fri, 25 Apr 2014 17:34:07 +0200 Message-ID: <1398440047-6641-4-git-send-email-yarygin@linux.vnet.ibm.com> References: <1398440047-6641-1-git-send-email-yarygin@linux.vnet.ibm.com> Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Paolo Bonzini , KVM , linux-s390 , Christian Borntraeger , Cornelia Huck , linux-kernel@vger.kernel.org, Alexander Yarygin To: Jiri Olsa , Arnaldo Carvalho de Melo Return-path: Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:40854 "EHLO e06smtp14.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752145AbaDYPbr (ORCPT ); Fri, 25 Apr 2014 11:31:47 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 25 Apr 2014 16:31:46 +0100 In-Reply-To: <1398440047-6641-1-git-send-email-yarygin@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Add a s390 specific test of a hardcoded trace event with '-' in the name. Signed-off-by: Alexander Yarygin --- tools/perf/tests/parse-events.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index 81dbd5a..deba669 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[] = { .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[] = { -- 1.7.9.5