aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>2011-10-04 19:45:04 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:43:12 -0800
commitfa73b411b41b050e212a20fc33ab45f2eb781c24 (patch)
tree368ae155b6e27801c7c9497c35d6ff71a2bf272b /kernel
parent4921487cb0a15e3fb28bc0b2410890f8fe7b161e (diff)
downloadlinux-linaro-precise-fa73b411b41b050e212a20fc33ab45f2eb781c24.tar.gz
perf probe: Fix to show correct error string
commit 44a56040a0037a845d5fa218dffde464579f0cab upstream. Fix perf probe to show correct error string when it fails to delete an event. The write(2) returns -1 if failed, and errno stores real error number. Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Link: http://lkml.kernel.org/r/20111004104504.14591.41266.stgit@fedora15 Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions