lkml.org 
[lkml]   [2017]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [GIT PULL] Please pull JSON files for Power9 PMU events
Date
Jiri Olsa <jolsa@redhat.com> writes:

> On Thu, Jul 13, 2017 at 01:43:41PM +1000, Michael Ellerman wrote:
>> Sukadev Bhattiprolu <sukadev@linux.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

\
 
 \ /
  Last update: 2017-07-13 11:51    [W:0.025 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site