tools lib traceevent: Use str_error_r()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 Jul 2016 18:21:37 +0000 (15:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:20:28 +0000 (15:20 -0300)
commitc3cec9e68f12d0046f991378391172958b5315d9
tree713ef1e647d5c85dad2702ecbc4f91400af31103
parentd0761e37fe3fed7810ed8d6e130b79359f0c3e13
tools lib traceevent: Use str_error_r()

To make it portable to non-glibc systems, that follow the XSI variant
instead of the GNU specific one that gets in place when _GNU_SOURCE is
defined.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-c1gn8x978qfop65m510wy43o@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c