Re: [PATCH 5/6] perf_counter: add more context information

From: Peter Zijlstra
Date: Mon Apr 06 2009 - 16:46:54 EST


On Mon, 2009-04-06 at 13:16 -0700, Corey Ashford wrote:

> >> One downside of this approach is that you if you specify "no header"
> >> (currently not possible, but maybe later?), you will not be able to get
> >> the level bits.
> >
> > Would this be desirable?

> I think it would. For one use case I'm working on right now, simple
> profiling, all I need are ip's. If I could omit the header, that would
> reduce the frequency of sigio's by a factor of three, and make it faster
> to read up the ip's when the SIGIO's occur.

Self-profiling?

So you're interested in getting the smallest possible record size, that
would still be 2 u64, right? Otherwise you don't get the IP context that
started this.


--
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/