perf trace: Split fd -> pathname array handling
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 27 Sep 2013 20:34:10 +0000 (17:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Oct 2013 14:05:01 +0000 (11:05 -0300)
commit97119f37bbebbab852899bd37ed52b80396728f9
treeeb008335452fae9cd58ea4f5257878c7b0476ca3
parent6650b181cc0b0c4218ebff9b0c368a2e56287907
perf trace: Split fd -> pathname array handling

So that the part that grows the array as needed is untied from the code
that reads the /proc/pid/fd symlink and can be used for the vfs_getname
hook that will set the fd -> path translation too, when available.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-ydo5rumyv9hdc1vsfmqamugs@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c