ftrace: Have ftrace_startup() return failure code
The register_ftrace_function() returns an error code on failure
except if the call to ftrace_startup() fails. Add a error return to
ftrace_startup() if it fails to start, allowing register_ftrace_funtion()
to return a proper error value.
Signed-off-by:
Steven Rostedt <rostedt@goodmis.org>
parent
7cbc5b8d
Please register or sign in to comment