[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e1a2913c-f56f-44c5-19e7-0c061cf21639@hisilicon.com>
Date: Thu, 12 Oct 2017 19:45:24 +0800
From: Zhangshaokun <zhangshaokun@...ilicon.com>
To: Will Deacon <will.deacon@....com>,
Ganapatrao Kulkarni <gklkml16@...il.com>
CC: Robert Richter <rric@...nel.org>,
Ganapatrao Kulkarni <ganapatrao.kulkarni@...ium.com>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <catalin.marinas@....com>,
<mark.rutland@....com>, Arnaldo Carvalho de Melo <acme@...nel.org>,
<alexander.shishkin@...ux.intel.com>, <peterz@...radead.org>,
<mingo@...hat.com>, <jnair@...iumnetworks.com>,
<Jonathan.Cameron@...wei.com>,
Robert Richter <Robert.Richter@...ium.com>
Subject: Re: [PATCH v7 0/4] Add support for ThunderX2 pmu events using json
files
Hi Will,
On 2017/10/12 18:58, Will Deacon wrote:
> On Thu, Oct 12, 2017 at 04:20:06PM +0530, Ganapatrao Kulkarni wrote:
>> Hi Robert,
>>
>> On Thu, Oct 12, 2017 at 4:08 PM, Robert Richter <rric@...nel.org> wrote:
>>> On 12.10.17 16:04:15, Ganapatrao Kulkarni wrote:
>>>
>>>> tools/perf/arch/arm64/util/Build | 1 +
>>>> tools/perf/arch/arm64/util/header.c | 65 ++++++++++++++++++++++
>>>> tools/perf/arch/powerpc/util/header.c | 2 +-
>>>> tools/perf/arch/x86/util/header.c | 2 +-
>>>> tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 +++++
>>>> .../arch/arm64/thunderx2/thunderx2-imp-def.json | 62 +++++++++++++++++++++
>>>
>>> I guess the dir needs to be named 'cavium'.
>>
>> i dont think so , while compilation arch type is detected, it has to be arm64
>> refer SRCARCH in pmu-events/Build
>
> The full name should be:
>
> .../arch/arm64/cavium/thunderx2-imp-def.json
>
It works for us (HiSilicon) as .../arch/arm64/hisilicon/hip08-imp-def.json.
Thanks,
Shaokun
> Will
>
> .
>
Powered by blists - more mailing lists