]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: do not init module on ftrace disabled
authorSteven Rostedt <rostedt@goodmis.org>
Sat, 16 Aug 2008 01:40:04 +0000 (21:40 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:35:43 +0000 (10:35 +0200)
commite4b66055754ac3bf79f5a0154836c972ad71b1e5
tree72f42d3a4b238d84e3697c53b31b1ba9f8d022cb
parente0fc2aa9e55eb59401a2cdd2e895672431be52c2
ftrace: do not init module on ftrace disabled

If one of the self tests of ftrace has disabled the function tracer,
do not run the code to convert the mcount calls in modules.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c