Re: [PATCH 10/11] tracing/perf: Fix lock events recursions in thefast path

From: Peter Zijlstra
Date: Fri Feb 05 2010 - 07:10:34 EST


On Fri, 2010-02-05 at 11:49 +0100, Ingo Molnar wrote:
>
> > That said, I'm not at all happy about removing lockdep annotations to make
> > the tracer faster, that's really counter productive.
>
> Are there no dynamic techniques that could be used here?
>
> Lockdep obviously wants maximum instrumentation coverage - performance be
> damned.
>
> Lock profiling/tracing/visualization wants the minimum subset of events it is
> interested in - everything else is unnecessary overhead.

Well, they could start by moving the tracepoint inside the lockdep
recursion check.

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