Re: [RFC][PATCH] perf_events, x86: PEBS support

From: Peter Zijlstra
Date: Tue Feb 02 2010 - 13:33:35 EST


On Tue, 2010-02-02 at 19:26 +0100, Ingo Molnar wrote:
> * Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > @@ -203,8 +203,9 @@ struct perf_event_attr {
> > enable_on_exec : 1, /* next exec enables */
> > task : 1, /* trace fork/exit */
> > watermark : 1, /* wakeup_watermark */
> > + precise : 1,
>
> I think we want to default to precise events even if not specifically
> requested by user-space, in the cases where that's possible on the CPU
> without additional limitations.
>
> That way people will default to better (and possibly cheaper) PEBS profiling
> on modern Intel CPUs.

Sure, I'll look at that once it starts working :-)

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