aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2014-08-14 02:22:34 +0000
committerArnaldo Carvalho de Melo <[email protected]>2014-08-15 10:56:53 -0300
commit5f03cba41590b5e7db5b66d2b2aa3e146ff8a84f (patch)
treec4f66ad54a3069044bf3548f5cd38c0ac7054876 /tools/perf/util/scripting-engines/trace-event-python.c
parentb2348e1d8a67c58de44820587fabc4f987eafbb6 (diff)
perf probe: Make error messages thread-safe
To make error messages thread-safe, this replaces strerror with strerror_r for warnings, and just shows the return value instead of using strerror for debug messages. Signed-off-by: Masami Hiramatsu <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Naohiro Aota <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions