[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130204133353.GC1058@krava.brq.redhat.com>
Date: Mon, 4 Feb 2013 14:33:53 +0100
From: Jiri Olsa <jolsa@...hat.com>
To: Andi Kleen <ak@...ux.intel.com>
Cc: Namhyung Kim <namhyung@...nel.org>,
Stephane Eranian <eranian@...gle.com>,
linux-kernel@...r.kernel.org, peterz@...radead.org, mingo@...e.hu,
acme@...hat.com, namhyung.kim@....com
Subject: Re: [PATCH 0/2] perf: add new uncore command
On Fri, Feb 01, 2013 at 05:35:23PM -0800, Andi Kleen wrote:
> > And there's a patchset [1] from Jiri to support some kind of formula -
> > yeah, now I've written the correct spelling. :) - that might fit to this
> > purpose if you provide suitable formula file IMHO. So I guess we don't
> > need to have another command and can reuse perf stat, no?
>
> Yes with a proper expression engine it's all redundant. I haven't
> looked at Jiri's stuff in detail, but it seemed very simple-minded
> and may not support all the computation needed.
yep, it was just an idea proposal.. it'd need more changes
too be able to handle this uncore stuff, but it's possible
>
> Also would allow to finally replace the bogus perf stat -d frontend/backend
> counters.
yep
>
> For stat there's no really a compelling reason to integrate
> it, the usual wrappers work as well. They have the advantage that
> they can be written in real programing languages, instead of trying
> to invent a new one.
>
> Expressions integrated would be mainly useful for things like
> "counting perf top"
nice idea
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists