Re: [PATCH 4/4] perf kvm: Add stat support on s390

From: Alexander Yarygin
Date: Thu Jul 10 2014 - 06:50:23 EST


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=<value>::
> - 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=<value>::
> Sorting key. Possible values: sample (default, sort by samples
> @@ -138,7 +138,8 @@ STAT LIVE OPTIONS
>
>
> --event=<value>::
> - 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=<value>::
> - 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 <command>' 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 <command>' records kvm events and the events between
- start and end <command>.
+ of KVM events. Currently, vmexit, mmio (x86 only) and ioport (x86 only)
+ events are supported. 'perf kvm stat record <command>' records kvm events
+ and the events between start and end <command>.
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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/