Running kmemleak without sysfs support

Catalin Marinas catalin.marinas at arm.com
Thu Jan 20 05:52:12 EST 2011


On Thu, 2011-01-20 at 10:41 +0000, Daniel Baluta wrote:
> Can I make any use of kmemcheck if I don't have sysfs
> kernel support enabled?

Kmemleak can scan output the memory and report the number of leaked
objects but if you need to get additional information about the leaked
objects (like backtrace), you need debugfs enabled.

DEBUG_FS doesn't seem to be dependent on SYSFS but I never tried to
enable one without the other (you might be able to mount the DEBUG_FS
somewhere other than /sys/kernel/debug/).

-- 
Catalin





More information about the Kernelnewbies mailing list