]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf trace beauty fcntl: Augment the return of F_DUPFD(_CLOEXEC)
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Jul 2017 18:24:19 +0000 (15:24 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:14:03 +0000 (23:14 -0300)
commit07a0572439450e2631f90d595965c379de105bab
treed36d3ee941a990758a07a9689b7dc1c1d85734b2
parentfc65eb8213a437b43e9de7776699aaa25dfa00df
perf trace beauty fcntl: Augment the return of F_DUPFD(_CLOEXEC)

Using the existing 'fd' beautifier, now we can see the path for the just
dup'ed fd:

 18031.338 ( 0.009 ms): gnome-terminal/2472 fcntl(fd: 55, cmd: DUPFD_CLOEXEC) = 56</memfd:gdk-wayland (deleted)>

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-z0ggo126p2eobfwnjw9z16tw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/fcntl.c