lkml.org 
[lkml]   [2004]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:1.330 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site