Messages in this thread | | | Subject | Re: [PATCH][RFC] Adding information of counts processes acquired how many spinlocks to schedstat | From | Peter Zijlstra <> | Date | Fri, 10 Jul 2009 15:56:52 +0200 |
| |
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
| |