diff options
author | Masami Hiramatsu <[email protected]> | 2011-10-04 19:45:04 +0900 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2011-10-10 15:13:23 -0400 |
commit | 44a56040a0037a845d5fa218dffde464579f0cab (patch) | |
tree | 8a1f3397210cc2e8ebb223f7a2bd1fec642a6246 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 02ca1521ad404cf566e0075848f80d064c0a0503 (diff) |
perf probe: Fix to show correct error string
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20111004104504.14591.41266.stgit@fedora15
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions