]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Fix compile error when static ftrace is enabled
authorSteven Rostedt <srostedt@redhat.com>
Sat, 7 Jan 2012 22:26:49 +0000 (17:26 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 7 Jan 2012 22:26:49 +0000 (17:26 -0500)
commit45835572a696fc56580be54f72d36607fbdc1841
treea162434d8272c749fef9da92f44aa02a76b9f360
parenteb6f85fdcd780437c31881bb7e69ee138b92ac62
tracing: Fix compile error when static ftrace is enabled

The stack tracer uses the call ftrace_set_early_filter() function
to allow the stack tracer to pick its own functions on boot.
But this function is not defined if dynamic ftrace is not set.
This causes a compiler error when stack tracer is enabled and
dynamic ftrace is not.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h