How about kmemleak?
The documentation can be found at Documentation/kmemleak.txt

I never used it so I cannot really tell you but perhaps worth trying. ;-)
http://lwn.net/Articles/185468/

HTH.

Ilho <><

On Dec 21, 2007 4:37 PM, Talib Alium <[EMAIL PROTECTED]> wrote:
> Thanos McAtos <[EMAIL PROTECTED]> wrote:
>  > Is there any tool which can help me with debugging memory leak in
> > kernel module ?
> >
> If you use fix-sized memory objects, you can use kmem_caches, which will
> detect memory leaks when you try to destruct them.
> Thanks for the tip. I am already using slabs for some of the allocation. I
> was talking about kmalloc allocation tracking.
>



-- 
YES, JESUS LOVES YOU, TOO.
For God so loved the world that he gave his one and only Son, that
whoever believes in him shall not perish but have eternal life(John
3:16).

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to