From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752187AbaDYPbr (ORCPT ); Fri, 25 Apr 2014 11:31:47 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:60936 "EHLO e06smtp17.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbaDYPbn (ORCPT ); Fri, 25 Apr 2014 11:31:43 -0400 From: Alexander Yarygin To: Jiri Olsa , Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Paolo Bonzini , KVM , linux-s390 , Christian Borntraeger , Cornelia Huck , linux-kernel@vger.kernel.org, Alexander Yarygin Subject: [PATCH v2 0/3] Fix usage of trace events with '-' in trace system name. Date: Fri, 25 Apr 2014 17:34:04 +0200 Message-Id: <1398440047-6641-1-git-send-email-yarygin@linux.vnet.ibm.com> X-Mailer: git-send-email 1.8.1.4 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14042515-0542-0000-0000-000008C64441 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This path series allows perf tool to work with trace events, which have '-' in trace system name (i.e. kvm-s390:*). v2 changes: - added s390 specific test to perf/tests/parse-events.c - use array with a constant length in the parse rule - rephrased description of patch 1/3 Patch 2/3 makes possible to add arch specific tests to perf/tests/parse-events.c. Alexander Yarygin (3): perf tools: parse tracepooints with '-' in system name perf-test: add numeric identifier to evlist_test perf-test: Add a test of kvm-390: trace event tools/perf/tests/parse-events.c | 142 ++++++++++++++++++++++++++------------- tools/perf/util/parse-events.y | 12 ++++ 2 files changed, 109 insertions(+), 45 deletions(-) -- 1.7.9.5