[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161017162754.GM26852@two.firstfloor.org>
Date: Mon, 17 Oct 2016 09:27:54 -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 09/10] perf, tools: Support DividedBy header in JSON
event list
On Mon, Oct 17, 2016 at 01:44:43PM +0200, Jiri Olsa wrote:
> On Thu, Oct 13, 2016 at 02:15:31PM -0700, Andi Kleen wrote:
> > From: Andi Kleen <ak@...ux.intel.com>
> >
> > Add support for parsing the DividedBy header in the JSON event lists and
> > storing them in the alias structure.
>
> I wish you'd add JSON tags always one by one as you did in here ;-)
>
> however Ithink we'll need more info here:
> - what's the value?
> - what's it going to be used for?
That's all described in the next patch. But I can copy the description.
> - looks like formula stuff, why post processing via python/perl can't be used in this case?
It would be fairly complicated to interface that with event lists, and
also still wouldn't work with standard perf stat.
DividedBy already covers the majority of interesting cases and fits
nicely with the existing frame work. If we wanted more complex
formulas something with python would be probably needed, but I don't see
the need yet.
-Andi
Powered by blists - more mailing lists