kmemtrace: allow kmemtrace to be enabled after boot
authorPekka Enberg <penberg@cs.helsinki.fi>
Fri, 10 Oct 2008 07:57:44 +0000 (10:57 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 29 Dec 2008 13:34:16 +0000 (15:34 +0200)
The kmemtrace_init() function returns early if kmemtrace is disabled at boot
causing kmemtrace_setup_late() to also bail out on NULL channel. This has the
unfortunate side effect that none of the debugfs files needed to enable
kmemtrace after boot are created.

Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>

No differences found