perf trace: Associate more argument names with the filename beautifier
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 13:53:06 +0000 (10:53 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 13:53:06 +0000 (10:53 -0300)
commitdea87bfb7b280e8b14519eb6b5e8bafbbf4c66f2
tree10b416161bb7c3006b23d645c2649e585ae7a48f
parent8195168e877948bb9a943ce11ad3e6ee71014bd5
perf trace: Associate more argument names with the filename beautifier

For instance, the rename* family uses "oldname", "newname", so check if
"name" is at the end and treat it as a filename.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-wjy7j4bk06g7atzwoz1mid24@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c