commit | a1cd6173596c6f7d1f0b41ac7d33ecf03c581edc | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Mon May 23 15:24:25 2011 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Wed May 25 22:13:37 2011 -0400 |
tree | 413ed775a2c48d8ad003740fa6ef0d912f784842 | |
parent | 7cbc5b8d4a775a43875a09e29c49a2a8195b5b2d [diff] |
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>