aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2014-05-09 15:36:59 -0700
committerLinus Torvalds <[email protected]>2014-05-11 17:55:48 +0900
commit3551a9280bcb728980a13783ff295e9f0bdedd9a (patch)
tree6993600a8b65e4d03db299162095cf205575af75 /tools/perf/util/trace-event-scripting.c
parentf2eb7f6f7a18fc2eff2f74d2bfa12758c0449f12 (diff)
mm: postpone the disabling of kmemleak early logging
Commit 8910ae896c8c ("kmemleak: change some global variables to int"), in addition to the atomic -> int conversion, moved the disabling of kmemleak_early_log to the beginning of the kmemleak_init() function, before the full kmemleak tracing is actually enabled. In this small window, kmem_cache_create() is called by kmemleak which triggers additional memory allocation that are not traced. This patch restores the original logic with kmemleak_early_log disabling when kmemleak is fully functional. Fixes: 8910ae896c8c (kmemleak: change some global variables to int) Signed-off-by: Catalin Marinas <[email protected]> Cc: Sasha Levin <[email protected]> Cc: Li Zefan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions