perf trace: Use the ptr->name beautifier as default for "filename" args
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 May 2016 19:37:55 +0000 (16:37 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 May 2016 19:41:00 +0000 (16:41 -0300)
commit12f3ca4fc8e27aa602c9c3c717d755b1e8f7fd47
tree440446ce36e747dabfc2634ba2bc858b8566520d
parentb6565c908ad7eb28dfdda9578ec5a074e080cedc
perf trace: Use the ptr->name beautifier as default for "filename" args

Auto-attach the ptr->name beautifier to syscall args "filename", "path"
and "pathname" if they are of type "const char *".

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-jxii4qmcgoppftv0zdvml9d7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c