]> www.infradead.org Git - users/willy/xarray.git/commit
arm64: perf: Expose some new events via sysfs
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Tue, 21 Jul 2020 10:49:33 +0000 (18:49 +0800)
committerWill Deacon <will@kernel.org>
Tue, 21 Jul 2020 11:59:42 +0000 (12:59 +0100)
commit55fdc1f44cd6bb1d61c9ca946d8f7cd67ea0bf36
tree8126d868006fecccf579a3c0c82ba45ae0758122
parent5271d915a99c696a2f16ae59cf6a037be35afa22
arm64: perf: Expose some new events via sysfs

Some new PMU events can been detected by PMCEID1_EL0, but it can't
be listed, Let's expose these through sysfs.

Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/1595328573-12751-2-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/perf_event.h
arch/arm64/kernel/perf_event.c