Re: [PATCH][RFC] Adding information of counts processes acquiredhow many spinlocks to schedstat

From: Peter Zijlstra
Date: Fri Jul 10 2009 - 09:57:19 EST


On Fri, 2009-07-10 at 15:50 +0200, Ingo Molnar wrote:

> > I wonder if the lock_*() events should become independant from
> > lockdep so that we don't need to always enable lockdep to get the
> > lock events at the same time.
> >
> > It could be a separate option.
>
> They already should be to a large degree if CONFIG_LOCK_STAT is
> enabled but CONFIG_PROVE_LOCKING is off. In theory :-)

Right, you don't need CONFIG_PROVE_LOCKING in order to get the
tracepoints. Also, you can always boot with prove_locking=0 or runtime
disable it using: echo 0 > /sys/module/lockdep/parameters/prove_locking



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