perf trace beauty: Export the pid beautifier for use in more places
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Jul 2017 18:21:40 +0000 (15:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:14:04 +0000 (23:14 -0300)
commitff2f1b2d35aeb672200af4772db1847fdcdfd77b
tree447190f5f2ab45ec3f4aaf20158dc6b3158ae5b4
parent07a0572439450e2631f90d595965c379de105bab
perf trace beauty: Export the pid beautifier for use in more places

Now that the beautifiers are being split into multiple source and object
files, we will need more of them exported, do it for the 'pid' one, will
be used to augment the return of some syscalls that may return a 'pid',
such as fcntl(fd, F_GETOWN).

Will also be used for fcntl(fd, F_SETOWN, pid).

Cc: Adrian Hunter <adrian.hunter@intel.com>
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-7gr5nt9p5skp4i1w0ja1w272@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/beauty.h
tools/perf/trace/beauty/pid.c