From: Masami Hiramatsu Date: Thu, 14 Aug 2014 02:22:34 +0000 (+0000) Subject: perf probe: Make error messages thread-safe X-Git-Tag: omap-for-v3.19/prcm-cleanup~97^2~28^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f03cba41590b5e7db5b66d2b2aa3e146ff8a84f;p=pandora-kernel.git 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 Cc: Ingo Molnar Cc: Namhyung Kim Cc: Naohiro Aota Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20140814022234.3545.22199.stgit@kbuild-fedora.novalocal Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed