Re: detect memory leak tools?

From: Mike Galbraith (mikeg@wen-online.de)
Date: Thu Feb 21 2002 - 12:37:21 EST


On Thu, 21 Feb 2002, Joe Wong wrote:

> Hi,
>
> Is there any tools that can detect memory leak in kernel loadable
> module?

Depends which kernel version.. <= 2.4.9, you can use IKD, which
contains Ingo's memleak detector. Sadly, it's unmaintained atm.

See /pub/linux/kernel/people/andrea/ikd of your favorite mirror
to see if there's a canned version that fits your needs. (If not,
it's likely easier to rip memleak out of ikd and hand patch than
to try fixing the zillion rejects you'd have if you try to wedge
ikd into a recent tree:)

        -Mike

-
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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:34 EST