summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-01-19 06:26:49 +0300
committerJens Axboe <axboe@kernel.dk>2025-01-19 17:28:37 +0300
commit561e3a0c40dc7e3ab7b0b3647a2b89eca16215d9 (patch)
tree9eb8aa80b5a4c403ef18a111225196988c5895df /tools/perf/scripts/python/gecko.py
parentbab4b2cca027fbc4effc0ef60615a35bfee96ad0 (diff)
downloadlinux-561e3a0c40dc7e3ab7b0b3647a2b89eca16215d9.tar.xz
io_uring/fdinfo: fix io_uring_show_fdinfo() misuse of ->d_iname
Output of io_uring_show_fdinfo() has several problems: * racy use of ->d_iname * junk if the name is long - in that case it's not stored in ->d_iname at all * lack of quoting (names can contain newlines, etc. - or be equal to "<none>", for that matter). * lines for empty slots are pointless noise - we already have the total amount, so having just the non-empty ones would carry the same information. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions