Re: [RFC PATCH] perf_core: provide a kernel-internal interface toget to performance counters

From: Arjan van de Ven
Date: Sat Sep 26 2009 - 14:48:51 EST


On Sun, 27 Sep 2009 00:02:46 +0530
"K.Prasad" <prasad@xxxxxxxxxxxxxxxxxx> wrote:

> On Sat, Sep 26, 2009 at 12:03:28PM -0400, Frank Ch. Eigler wrote:

> > For what it's worth, this sort of thing also looks useful from
> > systemtap's point of view.
>
> Wouldn't SystemTap be another user that desires support for
> multiple/all CPU perf-counters (apart from hw-breakpoints as a
> potential user)? As Arjan pointed out, perf's present design would
> support only a per-CPU or per-task counter; not both.

I'm sorry but I think I am missing your point.
"all cpu counters" would be one small helper wrapper away, a helper I'm
sure the SystemTap people are happy to submit as part of their patch
series when they submit SystemTap to the kernel.


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/