Re: verbose BUG_ON reporting

From: Pekka J Enberg
Date: Mon Jun 27 2005 - 09:57:44 EST


Andi Kleen writes:
It's still useless - it is too bloated to turn on by default
and then if you need it you still won't have it. And when you
explicitely turn it on then you likely don't need it because
you control the source.

Hmm. Would a BUG_ON_WITH_TEXT be a better solution? The home-grown assert macro in reiser4 can't be a long-term solution if people really want this kind of functionality. Btw, the bloat argument applies to assertion codes too.

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