Re: [PATCH 2/3] perf script: Fix off by one in brstackinsn IPC computation

From: Arnaldo Carvalho de Melo
Date: Tue Jul 16 2019 - 14:45:02 EST


Em Thu, Jul 11, 2019 at 11:19:21AM -0700, Andi Kleen escreveu:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> When we hit the end of a program block, need to count the last instruction
> too for the IPC computation. This caused large errors for small blocks.
>
> % perf script -b ls / > /dev/null
>
> Before:

Thanks, applied.

- Arnaldo