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

From: Peter Zijlstra
Date: Fri Apr 17 2009 - 13:28:17 EST


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.

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