perf trace: Enclose the errno strings with ()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 15:06:34 +0000 (12:06 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Dec 2018 19:15:18 +0000 (16:15 -0300)
commit2c83dfae021306d528b21dceb8d128ca16524c5a
treed01115915f6218ff42f7664bd904796395fbbea2
parentc48ee107bb387f76b089e0c30e1fed26e8d921f0
perf trace: Enclose the errno strings with ()

To match strace, now both emit the same line for calls like:

 access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-krxl6klsqc9qyktoaxyih942@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c