tracing: Fix function declarations if !CONFIG_STACKTRACE
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 10 May 2010 03:23:00 +0000 (11:23 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 14 May 2010 18:33:24 +0000 (14:33 -0400)
commite1f7992e015ae1373d66c8068d0a45e4111a0aed
tree8d4ce98a0039a5ab13e72f1c1862a595be1d9987
parent553552ce1796c32cf4e3d4f45cd5b537de91dd1d
tracing: Fix function declarations if !CONFIG_STACKTRACE

ftrace_trace_stack() and frace_trace_userstacke() take a
struct ring_buffer argument, not struct trace_array. Commit
e77405ad("tracing: pass around ring buffer instead of tracer")
made this change.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4BE77C14.5010806@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h