Messages in this thread | | | Date | Wed, 01 Sep 2004 19:53:01 +0200 | From | Manfred Spraul <> | Subject | [PATCH] remove ptrinfo |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |