diff options
author | Roman Bobniev <[email protected]> | 2013-10-08 15:58:57 -0700 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2013-10-24 20:25:10 +0300 |
commit | d56791b38e34e480d869d1b88735df16c81aa684 (patch) | |
tree | b1333007313610a469f6ab6fa23c4f65e51a370e /tools/perf/util/trace-event-scripting.c | |
parent | 6e4664525b1db28f8c4e1130957f70a94c19213e (diff) |
slub: proper kmemleak tracking if CONFIG_SLUB_DEBUG disabled
Move all kmemleak calls into hook functions, and make it so
that all hooks (both inside and outside of #ifdef CONFIG_SLUB_DEBUG)
call the appropriate kmemleak routines. This allows for kmemleak
to be configured independently of slub debug features.
It also fixes a bug where kmemleak was only partially enabled in some
configurations.
Acked-by: Catalin Marinas <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Roman Bobniev <[email protected]>
Signed-off-by: Tim Bird <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions