]> Git Repo - linux.git/commit
ftrace: Have ftrace_startup() return failure code
authorSteven Rostedt <[email protected]>
Mon, 23 May 2011 19:24:25 +0000 (15:24 -0400)
committerSteven Rostedt <[email protected]>
Thu, 26 May 2011 02:13:37 +0000 (22:13 -0400)
commita1cd6173596c6f7d1f0b41ac7d33ecf03c581edc
tree413ed775a2c48d8ad003740fa6ef0d912f784842
parent7cbc5b8d4a775a43875a09e29c49a2a8195b5b2d
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 <[email protected]>
kernel/trace/ftrace.c
This page took 0.051836 seconds and 4 git commands to generate.