[PATCH] remove ptrinfo
From: Manfred Spraul
Date: Wed Sep 01 2004 - 13:02:01 EST
Christoph wrote:
it's defined in slab.c but not used anywhere
Correct: ptrinfo is a debug-only function. Intended to be called from
kgdb stubs or for local printk debugging tests.
I think gdb even allows to call functions while it's stopped on a
breakpoint.
I added it as an example what slab knows about it's objects - I have
such test functions in my local files, but most developers don't know
how slab tracks objects. It's reference code - I'm not sure if it
belongs into the kernel or not.
--
Manfred
-
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/