]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
perf: add qcom l2 cache perf events driver
authorNeil Leeder <nleeder@codeaurora.org>
Tue, 7 Feb 2017 18:14:04 +0000 (13:14 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 23 Feb 2017 20:20:46 +0000 (14:20 -0600)
commitac940576b3de94ca4950a44a86af62624900aa8a
tree588a9db4104a988e6e6a3468477512af0d82f8e0
parentab8e2bd9245535e3213af0d5f5eca9fd5dd423d3
perf: add qcom l2 cache perf events driver

Adds perf events support for L2 cache PMU.

The L2 cache PMU driver is named 'l2cache_0' and can be used
with perf events to profile L2 events such as cache hits
and misses on Qualcomm Technologies processors.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
[will: minimise nesting in l2_cache_associate_cpu_with_cluster]
[will: use kstrtoul for unsigned long, remove redunant .owner setting]
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 21bdbb7102edeaebb5ec4ef530c8f442f7562c96)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Documentation/perf/qcom_l2_pmu.txt [new file with mode: 0644]
drivers/perf/Kconfig
drivers/perf/Makefile
drivers/perf/qcom_l2_pmu.c [new file with mode: 0644]
include/linux/cpuhotplug.h