ftrace: return error on failed modified text.
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 23 Oct 2008 13:32:59 +0000 (09:32 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 23 Oct 2008 14:00:13 +0000 (16:00 +0200)
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>

No differences found