tools: Import arm_pmuv3.h
authorRaghavendra Rao Ananta <rananta@google.com>
Fri, 20 Oct 2023 21:40:48 +0000 (21:40 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Tue, 24 Oct 2023 22:59:30 +0000 (22:59 +0000)
commit9f4b3273dfbe0ecb628b65fe9a80aae17caba20f
treea7e3ed9ecadf874948785f253b009bb5788a1393
parentea9ca904d24ff15ded92fd76c16462c47bcae2f8
tools: Import arm_pmuv3.h

Import kernel's include/linux/perf/arm_pmuv3.h, with the
definition of PMEVN_SWITCH() additionally including an assert()
for the 'default' case. The following patches will use macros
defined in this header.

Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231020214053.2144305-9-rananta@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/include/perf/arm_pmuv3.h [new file with mode: 0644]