diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-05-23 15:24:25 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-25 22:13:37 -0400 |
commit | a1cd6173596c6f7d1f0b41ac7d33ecf03c581edc (patch) | |
tree | 413ed775a2c48d8ad003740fa6ef0d912f784842 /samples/kdb | |
parent | 7cbc5b8d4a775a43875a09e29c49a2a8195b5b2d (diff) | |
download | linux-a1cd6173596c6f7d1f0b41ac7d33ecf03c581edc.tar.bz2 |
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>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions