]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf/hv-24x7: Aggregate result elements on POWER9 SMT8
authorThiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Thu, 29 Jun 2017 21:55:38 +0000 (18:55 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 2 Jul 2017 10:40:33 +0000 (20:40 +1000)
commit4f225e02bf8dcc286ac297927c2208e9b7d2459e
treea3f1101b2637ef2773289a59a9b27369d31331c1
parent759588c4874f968beaac906faee9804c594687a7
powerpc/perf/hv-24x7: Aggregate result elements on POWER9 SMT8

On POWER9 SMT8 the 24x7 API returns two result elements for physical core
and virtual CPU events and we need to add their counts to get the final
result.

Reviewed-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/hv-24x7.c