Re: Detecting Memory Leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <talibalm@xxxxxxxxxxx> wrote:
> Thanos McAtos <mcatos@xxxxxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux