kmemleak: Scan the _ftrace_events section in modules
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Oct 2009 13:33:10 +0000 (13:33 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Oct 2009 17:07:54 +0000 (17:07 +0000)
commita6f5aa1ea05686ad6e84593a00a04161e6dfb3a3
tree4521e6f84911fc29d667314d8950be54342584d7
parentc017b4be3e84176cab10eca5e6c4faeb8cfc6f3e
kmemleak: Scan the _ftrace_events section in modules

This section contains pointers to allocated objects and not scanning it
leads to false positives.

Reported-by: Zdenek Kabelac <zdenek.kabelac@gmail.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
kernel/module.c