perf trace beauty: Introduce syscall arg beautifier for long integers
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Jul 2017 13:34:16 +0000 (10:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:13:54 +0000 (23:13 -0300)
commit5dde91edbf6776daba0981c5bc47f1240427e05c
tree07881e34a28b0eae99fa3f24b2cc56f8dbaced1c
parent2c2b1623d46ce1f9c0ef5d21ff64a2c3f960e489
perf trace beauty: Introduce syscall arg beautifier for long integers

Will be used in the fcntl arg beautifier, that nowadays formats as '%ld'
because there is no explicit arg beautifier attached, but as we will
have to first decide what beautifier to use (i.e. it may be a pointer,
etc) then we need to have this exported as a separate beautifier to be
called from there.

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