]> git.baikalelectronics.ru Git - kernel.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)
commitcbb2ccda0404677d9d1aa3fd661ac46294d54b3d
tree8126d868006fecccf579a3c0c82ba45ae0758122
parent32753a2e95b85ed361be459d3e65a5a3a9468509
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