perf trace: Move the files table resizing to outside set_pathname()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 27 Dec 2018 14:05:18 +0000 (11:05 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 28 Dec 2018 19:33:03 +0000 (16:33 -0300)
commitd7e134845d6b19288dec5582ce91d6c6052fcdad
treea23c482cb262a39cc37a5def4dfd29215a620638
parentf4a74fcbfd943e128bbd464dc31b4405e1514d63
perf trace: Move the files table resizing to outside set_pathname()

So that we can have that table expanded when setting other attributes.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-hzvpe3qwafe6sqcq3bhtbxds@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c