diff options
author | Eugeniy Paltsev | 2018-12-13 19:56:19 +0300 |
---|---|---|
committer | Vineet Gupta | 2019-01-17 14:38:00 -0800 |
commit | 0e956150fe09fa4430c42a9bbe48a72967fa0012 (patch) | |
tree | 8eb836c0f7cc094f956583995c596d4ca517ea19 /arch/arm/mach-s3c24xx | |
parent | 14f81a91ad29a57d6c3cf123ad9489f2ca9133fb (diff) |
ARC: perf: introduce Kernel PMU events support
Export all available ARC architected hardware events as
kernel PMU events to make non-generic events accessible.
ARC PMU HW allow us to read the list of all available
events names. So we generate kernel PMU event list
dynamically in arc_pmu_device_probe() using
human-readable events names we got from HW instead of
using pre-defined events list.
-------------------------->8--------------------------
$ perf list
[snip]
arc_pmu/bdata64/ [Kernel PMU event]
arc_pmu/bdcstall/ [Kernel PMU event]
arc_pmu/bdslot/ [Kernel PMU event]
arc_pmu/bfbmp/ [Kernel PMU event]
arc_pmu/bfirqex/ [Kernel PMU event]
arc_pmu/bflgstal/ [Kernel PMU event]
arc_pmu/bflush/ [Kernel PMU event]
-------------------------->8--------------------------
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx')
0 files changed, 0 insertions, 0 deletions