Re: detect memory leak tools?

Mike Galbraith (mikeg@wen-online.de)
Thu, 21 Feb 2002 18:37:21 +0100 (CET)


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/