Messages in this thread | | On Mon, 2010-02-01 at 02:23 +0100, Frederic Weisbecker wrote: > On Sat, Jan 30, 2010 at 09:46:28AM +0100, Peter Zijlstra wrote: > > On Sat, 2010-01-30 at 00:17 +0100, Frederic Weisbecker wrote: > > > > > > > > > Anyway, that's just an idea, not trivial I must admit. > > > > lockdep actually collects all this information, so writing it out isn't > > too hard. > > > Hmm, I'm discovering the /proc/lock_stat file this evening, did not > know it exist :) > > Still, a tree representation can bring another dimension.
current->held_locks[i]->instance, i < current->lock_depth
| |