[PATCHv4] perf kvm: add kvm-stat for arm64

Arnaldo Carvalho de Melo acme at kernel.org
Tue Oct 13 10:37:09 EDT 2020


Em Tue, Sep 29, 2020 at 12:34:50PM +0900, Sergey Senozhatsky escreveu:
> On (20/09/17 19:02), Sergey Senozhatsky wrote:
> > Add support for perf kvm stat on arm64 platform.

> > Example:
> >  # perf kvm stat report

> > Analyze events for all VMs, all VCPUs:

> >     VM-EXIT    Samples  Samples%     Time%    Min Time    Max Time         Avg time
> > 
> >    DABT_LOW     661867    98.91%    40.45%      2.19us   3364.65us      6.24us ( +-   0.34% )
> >         IRQ       4598     0.69%    57.44%      2.89us   3397.59us   1276.27us ( +-   1.61% )
> >         WFx       1475     0.22%     1.71%      2.22us   3388.63us    118.31us ( +-   8.69% )
> >    IABT_LOW       1018     0.15%     0.38%      2.22us   2742.07us     38.29us ( +-  12.55% )
> >       SYS64        180     0.03%     0.01%      2.07us    112.91us      6.57us ( +-  14.95% )
> >       HVC64         17     0.00%     0.01%      2.19us    322.35us     42.95us ( +-  58.98% )

> > Total Samples:669155, Total events handled time:10216387.86us.

> > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
> > Reviewed-by: Leo Yan <leo.yan at linaro.org>
> > Tested-by: Leo Yan <leo.yan at linaro.org>

> Arnaldo, any opinion on this?

I'm not finding the actual patch, just this reply from you, lets try
with b4 using this message Message-Id... Magic! But it isn't applying,
can you please refresh the patch to what is in my perf/core branch?

- Arnaldo

[acme at five perf]$ b4 am -csl 20200929033450.GB529 at jagdpanzerIV.localdomain
Looking up https://lore.kernel.org/r/20200929033450.GB529%40jagdpanzerIV.localdomain
Grabbing thread from lore.kernel.org/linux-arm-kernel
Analyzing 2 messages in the thread
---
Writing ./20200917_sergey_senozhatsky__1_2_3.mbx
  [PATCHv4] perf kvm: add kvm-stat for arm64
    + Signed-off-by: Arnaldo Carvalho de Melo <acme at redhat.com>
    + Link: https://lore.kernel.org/r/20200917100225.208794-1-sergey.senozhatsky@gmail.com
---
Total patches: 1
---
 Link: https://lore.kernel.org/r/20200917100225.208794-1-sergey.senozhatsky@gmail.com
 Base: not found
       git am ./20200917_sergey_senozhatsky__1_2_3.mbx
[acme at five perf]$ vim ./20200917_sergey_senozhatsky__1_2_3.mbx
[acme at five perf]$
[acme at five perf]$        git am ./20200917_sergey_senozhatsky__1_2_3.mbx
Applying: perf kvm: add kvm-stat for arm64
error: patch failed: tools/perf/arch/arm64/util/Build:1
error: tools/perf/arch/arm64/util/Build: patch does not apply
Patch failed at 0001 perf kvm: add kvm-stat for arm64
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
[acme at five perf]$



More information about the linux-arm-kernel mailing list