perf trace beauty: Export the pid beautifier for use in more places
authorArnaldo Carvalho de Melo <[email protected]>
Fri, 14 Jul 2017 18:21:40 +0000 (15:21 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/trace/beauty/beauty.h
tools/perf/trace/beauty/pid.c