Re: [PATCH] tracing/lockdep: turn lock->name into an array

From: Steven Rostedt
Date: Fri Apr 17 2009 - 13:37:17 EST




On Fri, 17 Apr 2009, Peter Zijlstra wrote:

> On Fri, 2009-04-17 at 10:25 -0700, Jeremy Fitzhardinge wrote:
> > Ingo Molnar wrote:
> > > We could zap all pending trace entries on module unload (it is a
> > > rare operation)
> >
> > ....Unless you're trying to trace something across a module unload. I
> > don't know if its at all practical, but it would be nice to just zap the
> > pointers within the buffer, rather than the whole buffer.
>
> I think the new __string() thing that's in the works will avoid the
> whole problem by copying the string into the buffer, instead of keeping
> a reference.

Speaking of which. We have not heard back from Frederic on this yet. I
hope he's taking a break, enjoying the sun, and not stuck on some tricky
macro crap ;-)

-- Steve

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