perf trace: Allow syscall_arg beautifiers to set a different return formatter
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Jul 2017 14:35:03 +0000 (11:35 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:13:57 +0000 (23:13 -0300)
commit84486caad942bfea338716e22010a754a0ca9199
tree84c65f947f5e0a0d1ea26248e6649d3807071876
parentb239ad28a8c9571c45e62e486ce75ebad17de6c1
perf trace: Allow syscall_arg beautifiers to set a different return formatter

Things like fcntl will use this to set the right formatter based on its
'cmd' argument.

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-4ea3wplb8b4j7aymj0d5uo0h@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c
tools/perf/trace/beauty/beauty.h