[PATCH v5 1/2] arm64: perf: Add support caps in sysfs

Mark Rutland mark.rutland at arm.com
Tue Jul 21 08:24:34 EDT 2020


On Tue, Jul 21, 2020 at 01:07:24PM +0100, Will Deacon wrote:
> On Tue, 21 Jul 2020 18:49:32 +0800, Shaokun Zhang wrote:
> > ARMv8.4-PMU introduces the PMMIR_EL1 registers and some new PMU events,
> > like STALL_SLOT etc, are related to it. Let's add a caps directory to
> > /sys/bus/event_source/devices/armv8_pmuv3_0/ and support slots from
> > PMMIR_EL1 registers in this entry. The user programs can get the slots
> > from sysfs directly.
> 
> Applied to will (for-next/perf), thanks!
> 
> (Please note that I only applied the second patch)
> 
> [2/2] arm64: perf: Expose some new events via sysfs
>       https://git.kernel.org/will/c/55fdc1f44cd6

FWIW, that looks good to me.

Mark.



More information about the linux-arm-kernel mailing list