perf trace beauty: Implement pid_fd beautifier
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 31 Oct 2017 14:30:09 +0000 (11:30 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 31 Oct 2017 19:17:03 +0000 (16:17 -0300)
commit0a2f7540abc08e32f89ff273506eeeeb6910794f
treeedc6a920999dd3e38687fbebf2f28c9a8c69e18e
parent735e215e95e53b857000aaabe1b4707878b10f43
perf trace beauty: Implement pid_fd beautifier

One that given a pid and a fd, will try to get the path for that fd.
Will be used in the upcoming kcmp's KCMP_FILE beautifier.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andrey Vagin <avagin@openvz.org>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
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-7ketygp2dvs9h13wuakfncws@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c
tools/perf/trace/beauty/beauty.h