perf trace beauty: Simplify syscall return formatting
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Jul 2017 15:45:57 +0000 (12:45 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:14:26 +0000 (23:14 -0300)
commit1f63139c3f8af1d6a09de5dd355c8b5695407c79
tree8f794130df293d880037bcfaa3d44388f7880c4c
parentbefecc810c95994774439baeedc8a03fe8d51e8f
perf trace beauty: Simplify syscall return formatting

Removing syscall_fmt::err_msg and instead always formatting negative
returns as errno values.

With this we can remove a lot of entries that have no special handling
besides the ones we can do by looking at the tracefs format files, i.e.
the types for the fields (e.g. pid_t), well known names (e.g. fd).

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: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-rg9u7a3qqdnzo37d212vnz2o@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c