[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87vamwk6mq.fsf@concordia.ellerman.id.au>
Date: Thu, 13 Jul 2017 19:50:37 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Madhavan Srinivasan <maddy@...ux.vnet.ibm.com>,
Andi Kleen <andi@...stfloor.org>, ak@...ux.intel.com,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
mikey@...ling.org, mpetlan@...hat.com
Subject: Re: [GIT PULL] Please pull JSON files for Power9 PMU events
Jiri Olsa <jolsa@...hat.com> writes:
> On Thu, Jul 13, 2017 at 01:43:41PM +1000, Michael Ellerman wrote:
>> Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com> writes:
>> ...
>> >
>> > tools/perf/pmu-events/arch/powerpc/mapfile.csv | 3 +
>> > .../perf/pmu-events/arch/powerpc/power9/cache.json | 176 +++++
>> > .../arch/powerpc/power9/floating-point.json | 44 ++
>> > .../pmu-events/arch/powerpc/power9/frontend.json | 446 +++++++++++
>> > .../pmu-events/arch/powerpc/power9/marked.json | 782 +++++++++++++++++++
>> > .../pmu-events/arch/powerpc/power9/memory.json | 158 ++++
>>
>> In the map file we have "power9.json", but the files are power9/x.json.
>> How does that work?
>
> hum, we take just the base name from that string and use it
> as a map to the directory/struct with events.. so no harm done
I figured it must be working somehow but it's a bit odd :)
> I guess it's the leftover from when we switched from single file
> to per topic event files.. x86 arch seems to have it right
Yep.
> I'll send the fix
Thanks.
cheers
Powered by blists - more mailing lists