powerpc/perf: Fix thersholding counter data for unknown type

Michael Ellerman patch-notifications at ellerman.id.au
Sat Dec 22 20:54:35 AEDT 2018


On Sun, 2018-12-09 at 09:18:15 UTC, Madhavan Srinivasan wrote:
> MMCRA[34:36] and MMCRA[38:44] expose the thresholding counter value.
> Thresholding counter can be used to count latency cycles such as
> load miss to reload. But threshold counter value is not relevant
> when the sampled instruction type is unknown or reserved. Patch to
> fix the thersholding counter value to zero when sampled instruction
> type is unknown or reserved.
> 
> Fixes: 170a315f41c6('powerpc/perf: Support to export MMCRA[TEC*] field to userspace')
> Signed-off-by: Madhavan Srinivasan <maddy at linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/17cfccc91545682513541924245abb

cheers


More information about the Linuxppc-dev mailing list