[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161014153222.GH26852@two.firstfloor.org>
Date: Fri, 14 Oct 2016 08:32:22 -0700
From: Andi Kleen <andi@...stfloor.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Andi Kleen <andi@...stfloor.org>, acme@...nel.org,
jolsa@...nel.org, sukadev@...ux.vnet.ibm.com, eranian@...gle.com,
linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 03/10] perf, tools: Add support for parsing uncore json
files
> > addfield(map, &extra_desc, ". ",
> > " Supports address when precise",
> > NULL);
> > + } else if (json_streq(map, field, "Unit")) {
>
> so I remember you said you're preparing JSON events files for perf,
> so why not call this field "Pmu" directly? Would be less confusing
> wrt the ScaleUnit field
While I'm cleaning up the files somewhat, I'm still trying to be
compatible with the original format, so that it's also possible
to drop in unchanged files. Also it's better if there is only
one kind of JSON event format, not multiple subtle incompatible
versions.
-Andi
Powered by blists - more mailing lists