summaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2011-09-28 12:17:03 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2011-12-02 16:12:41 +0000
commit5f79020cb9fea59a5d4d1712bcd320523b129b35 (patch)
treee726d58389a1cd71999a19015f44716e6b6d747d /mm/vmstat.c
parent5611cc4572e889b62a7b4c72a413536bf6a9c416 (diff)
downloadop-kernel-dev-5f79020cb9fea59a5d4d1712bcd320523b129b35.zip
op-kernel-dev-5f79020cb9fea59a5d4d1712bcd320523b129b35.tar.gz
kmemleak: Show where early_log issues come from
Based on initial patch by Steven Rostedt. Early kmemleak warnings did not show where the actual kmemleak API had been called from but rather just a backtrace to the kmemleak_init() function. By having all early kmemleak logs record the stack_trace, we can have kmemleak_init() write exactly where the problem occurred. This patch adds the setting of the kmemleak_warning variable every time a kmemleak warning is issued. The kmemleak_init() function checks this variable during early log replaying and prints the log trace if there was any warning. Reported-by: Steven Rostedt <rostedt@goodmis.org> Cc: Andrew Morton <akpm@google.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud