summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-06 20:57:33 +0300
committerJens Axboe <axboe@kernel.dk>2024-03-08 17:56:31 +0300
commitfb6328bc2ab58dcf2998bd173f1ef0f3eb7be19a (patch)
tree6c48a69b65feecc8f7d99f76417540764f277454 /tools/perf/scripts/python/stackcollapse.py
parent186daf2385295acf19ecf48f4d5214cc2d925933 (diff)
downloadlinux-fb6328bc2ab58dcf2998bd173f1ef0f3eb7be19a.tar.xz
io_uring/net: simplify msghd->msg_inq checking
Just check for larger than zero rather than check for non-zero and not -1. This is easier to read, and also protects against any errants < 0 values that aren't -1. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions