From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751386AbaGJKuS (ORCPT ); Thu, 10 Jul 2014 06:50:18 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:55589 "EHLO e06smtp13.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958AbaGJKuQ (ORCPT ); Thu, 10 Jul 2014 06:50:16 -0400 Date: Thu, 10 Jul 2014 14:50:07 +0400 Message-ID: <87ha2ph4io.wl%yarygin@linux.vnet.ibm.com> From: Alexander Yarygin To: Arnaldo Carvalho de Melo , David Ahern Cc: Jiri Olsa , Peter Zijlstra , Paul Mackerras , Ingo Molnar , Alexander Yarygin , Christian Borntraeger , Cornelia Huck , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] perf kvm: Add stat support on s390 In-Reply-To: <1404397747-20939-5-git-send-email-yarygin@linux.vnet.ibm.com> References: <1404397747-20939-1-git-send-email-yarygin@linux.vnet.ibm.com> <1404397747-20939-5-git-send-email-yarygin@linux.vnet.ibm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14071010-2966-0000-0000-0000007BB12A Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Thu, 3 Jul 2014 18:29:07 +0400, Alexander Yarygin wrote: > ... > diff --git a/tools/perf/Documentation/perf-kvm.txt b/tools/perf/Documentation/perf-kvm.txt > index 52276a6..abf2925 100644 > --- a/tools/perf/Documentation/perf-kvm.txt > +++ b/tools/perf/Documentation/perf-kvm.txt > @@ -103,8 +103,8 @@ STAT REPORT OPTIONS > analyze events which occures on this vcpu. (default: all vcpus) > > --event=:: > - event to be analyzed. Possible values: vmexit, mmio, ioport. > - (default: vmexit) > + event to be analyzed. Possible values: vmexit, mmio (x86 only), > + ioport (x86 only). (default: vmexit) > -k:: > --key=:: > Sorting key. Possible values: sample (default, sort by samples > @@ -138,7 +138,8 @@ STAT LIVE OPTIONS > > > --event=:: > - event to be analyzed. Possible values: vmexit, mmio, ioport. > + event to be analyzed. Possible values: vmexit, > + mmio (x86 only), ioport (x86 only). > (default: vmexit) > > -k:: > @@ -147,7 +148,8 @@ STAT LIVE OPTIONS > number), time (sort by average time). > > --duration=:: > - Show events other than HLT that take longer than duration usecs. > + Show events other than HLT (x86 only) or Wait state (s390 only) > + that take longer than duration usecs. > > SEE ALSO > -------- fixup (mmio and ioport events are marked as x86 only): --- a/tools/perf/Documentation/perf-kvm.txt +++ b/tools/perf/Documentation/perf-kvm.txt @@ -51,9 +51,9 @@ There are a couple of variants of perf kvm: 'perf kvm stat ' to run a command and gather performance counter statistics. Especially, perf 'kvm stat record/report' generates a statistical analysis - of KVM events. Currently, vmexit, mmio and ioport events are supported. - 'perf kvm stat record ' records kvm events and the events between - start and end . + of KVM events. Currently, vmexit, mmio (x86 only) and ioport (x86 only) + events are supported. 'perf kvm stat record ' records kvm events + and the events between start and end . And this command produces a file which contains tracing results of kvm events. Arnaldo, could you please also merge this? Or should I resend the patch? Thanks.