OSDN Git Service

function_graph: Place ftrace_graph_entry_stub() prototype in include/linux/ftrace.h
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 24 Apr 2019 16:34:46 +0000 (12:34 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 29 Apr 2019 21:17:22 +0000 (17:17 -0400)
commite8025bab7bfbd48d262c01c26c15a9d465fbb083
treece025bc9de0b6710afc064e41ebbde073add52f9
parent52fde6e70cccc2fcf3f39fed0d0392960e2c2b03
function_graph: Place ftrace_graph_entry_stub() prototype in include/linux/ftrace.h

ftrace_graph_entry_stub() is defined in generic code, its prototype should
be in the generic header and not defined throughout architecture specific
code in order to use it.

Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
arch/nds32/kernel/ftrace.c
arch/parisc/kernel/ftrace.c
include/linux/ftrace.h