From mboxrd@z Thu Jan 1 00:00:00 1970 From: peterz@infradead.org (Peter Zijlstra) Date: Mon, 21 Mar 2016 10:04:00 +0100 Subject: [PATCH V1] perf: qcom: Add L3 cache PMU driver In-Reply-To: <1458333422-8963-1-git-send-email-agustinv@codeaurora.org> References: <1458333422-8963-1-git-send-email-agustinv@codeaurora.org> Message-ID: <20160321090400.GQ6344@twins.programming.kicks-ass.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Mar 18, 2016 at 04:37:02PM -0400, 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 is comprised of multiple slices each with its own PMU. The driver > aggregates counts across the whole system to provide a global picture > of the metrics selected by the user. So is there never a situation where you want to profile just a single slice? It userspace at all aware of these slices through other means? That is; typically we do not aggregate in-kernel like this but simply expose each slice as a separate PMU and let userspace sort things.