[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171011121700.GB11106@arm.com>
Date: Wed, 11 Oct 2017 13:17:01 +0100
From: Will Deacon <will.deacon@....com>
To: Ganapatrao Kulkarni <ganapatrao.kulkarni@...ium.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
catalin.marinas@....com, mark.rutland@....com, acme@...nel.org,
alexander.shishkin@...ux.intel.com, peterz@...radead.org,
mingo@...hat.com, jnair@...iumnetworks.com,
zhangshaokun@...ilicon.com, Jonathan.Cameron@...wei.com,
Robert.Richter@...ium.com, gklkml16@...il.com
Subject: Re: [PATCH v6 3/4] perf utils: Add helper function is_pmu_core to
detect PMU CORE devices
On Thu, Aug 24, 2017 at 05:33:48PM +0530, Ganapatrao Kulkarni wrote:
> On some platforms, PMU core devices sysfs name is not cpu.
> Adding function is_pmu_core to detect PMU core devices using
> core device specific hints in sysfs.
>
> For arm64 platforms, all core devices have file "cpus" in sysfs.
>
> Tested-by: Shaokun Zhang <zhangshaokun@...ilicon.com>
> Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulkarni@...ium.com>
> ---
> tools/perf/util/pmu.c | 39 +++++++++++++++++++++++++++++++++++----
> 1 file changed, 35 insertions(+), 4 deletions(-)
Acked-by: Will Deacon <will.deacon@....com>
Will
Powered by blists - more mailing lists