commit | 593eb8a2d63e95772a5f22d746f18a997c5ee463 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <rostedt@goodmis.org> | Thu Oct 23 09:32:59 2008 -0400 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Oct 23 16:00:13 2008 +0200 |
tree | 2a99c61ccffc2c0fd280bb2e5f81ac2f22e2f471 | |
parent | 34698bcbdf7b0629d6c873b5da7c63073fb45361 [diff] |
ftrace: return error on failed modified text. Have the ftrace_modify_code return error values: -EFAULT on error of reading the address -EINVAL if what is read does not match what it expected -EPERM if the write fails to update after a successful match. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>