]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: pmu: Probe default hw/cache counters
authorJeremy Linton <jeremy.linton@arm.com>
Wed, 14 Sep 2016 22:32:30 +0000 (17:32 -0500)
committerWill Deacon <will.deacon@arm.com>
Fri, 16 Sep 2016 16:11:33 +0000 (17:11 +0100)
commitc0815fa90ec813495010962a423ff4a7155f015f
treef36661b89409a4717ace33ef32bc4abc6ce2566e
parente05e8f4ee4726392bbac163826dca5c38f6dbb27
arm64: pmu: Probe default hw/cache counters

ARMv8 machines can identify the micro/arch defined counters
that are available on a machine. Add all these counters to the
default armv8 perf map. At run-time disable the counters which
are not available on the given PMU.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/perf_event.c