tracing/ftrace: provide the macro task_curr_ret_stack()
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 4 Dec 2008 22:51:23 +0000 (23:51 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Dec 2008 13:47:44 +0000 (14:47 +0100)
commit21a8c466f99063eeb8567318b4e305eda9015408
treebc15ed9d28a4f1a52d390ceca6893d84de50a232
parent77d683f3e0258d522c5506e7b5fd05c9411184d9
tracing/ftrace: provide the macro task_curr_ret_stack()

Impact: cleanup

As suggested by Steven Rostedt, this patch provide a new macro
task_curr_ret_stack() to move the cpp conditionnal CONFIG into
the linux/ftrace.h headers.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace.h
kernel/trace/trace.c