Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1603362
| From | Agustin Vega-Frias <agustinv@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V4] perf: qcom: Add L3 cache PMU driver |
| Date | 2017-03-17 15:40 +0100 |
| Message-ID | <tm1cS-7LG-9@gated-at.bofh.it> (permalink) |
| References | <tm13b-7Il-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2017-03-17 10:24, Agustin Vega-Frias wrote: > This adds a new dynamic PMU to the Perf Events framework to program > and control the L3 cache PMUs in some Qualcomm Technologies SOCs. > > The driver supports a distributed cache architecture where the overall > cache for a socket is comprised of multiple slices each with its own > PMU. > Access to each individual PMU is provided even though all CPUs share > all > the slices. User space needs to aggregate to individual counts to > provide > a global picture. > > The driver exports formatting and event information to sysfs so it can > be used by the perf user space tools with the syntaxes: > perf stat -a -e l3cache_0_0/read-miss/ > perf stat -a -e l3cache_0_0/event=0x21/ > > Signed-off-by: Agustin Vega-Frias <agustinv@codeaurora.org> > --- > Documentation/perf/qcom_l3_pmu.txt | 25 ++ > drivers/perf/Kconfig | 10 + > drivers/perf/Makefile | 1 + > drivers/perf/qcom_l3_pmu.c | 825 > +++++++++++++++++++++++++++++++++++++ > include/linux/cpuhotplug.h | 1 + > 5 files changed, 862 insertions(+) > create mode 100644 Documentation/perf/qcom_l3_pmu.txt > create mode 100644 drivers/perf/qcom_l3_pmu.c This was built and tested on top of v4.11-rc2. The perf fuzzer was run overnight and no stability issues were found. -- Qualcomm Datacenter Technologies, Inc. on behalf of the Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V4] perf: qcom: Add L3 cache PMU driver Agustin Vega-Frias <agustinv@codeaurora.org> - 2017-03-17 15:30 +0100
Re: [PATCH V4] perf: qcom: Add L3 cache PMU driver Agustin Vega-Frias <agustinv@codeaurora.org> - 2017-03-17 15:40 +0100
Re: [PATCH V4] perf: qcom: Add L3 cache PMU driver Mark Rutland <mark.rutland@arm.com> - 2017-03-23 16:40 +0100
Re: [PATCH V4] perf: qcom: Add L3 cache PMU driver Agustin Vega-Frias <agustinv@codeaurora.org> - 2017-03-23 19:50 +0100
csiph-web