lkml.org 
[lkml]   [2016]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v20 00/20] perf, tools: Add support for PMU events in JSON format
> hi,
> I had discussion with Ingo about the state of this patchset
> and there's one more requirement from his side - to split
> event files into per topic files

Thanks Jiri.
>
> I made some initial changes over latest Sukadev's branch
> and came up with something like this:

Did you just split it by the "Topic" fields?

>
> $ find pmu-events/arch/x86/
> pmu-events/arch/x86/
> pmu-events/arch/x86/NehalemEX_core
> pmu-events/arch/x86/NehalemEX_core/Memory.json
> pmu-events/arch/x86/NehalemEX_core/Virtual-Memory.json
> pmu-events/arch/x86/NehalemEX_core/Cache.json
> pmu-events/arch/x86/NehalemEX_core/Pipeline.json
> pmu-events/arch/x86/NehalemEX_core/Floating-point.json
> pmu-events/arch/x86/NehalemEX_core/Other.json
> pmu-events/arch/x86/mapfile.csv
> pmu-events/arch/x86/Broadwell_core
> pmu-events/arch/x86/Broadwell_core/Memory.json
> pmu-events/arch/x86/Broadwell_core/Virtual-Memory.json
> pmu-events/arch/x86/Broadwell_core/Cache.json
> pmu-events/arch/x86/Broadwell_core/Pipeline.json
> pmu-events/arch/x86/Broadwell_core/Floating-point.json
> pmu-events/arch/x86/Broadwell_core/Other.json
> pmu-events/arch/x86/Broadwell_core/Frontend.json
>
> so let's have a discussion if this is acceptable for you guys

Splitting is fine for me, as long as it's scriptable.

I already have some scripts to generate the perf json files,
can update them to split.

>
> I've already made some changes in pmu-events/* to support
> this hierarchy to see how bad the change would be.. and
> it's not that bad ;-)

Everything has to be automated, please no manual changes.

-Andi

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.808 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site