summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-08-15 10:40:22 +0100
committerJens Axboe <axboe@kernel.dk>2021-08-23 13:10:37 -0600
commit8cb01fac982a3f8622a46821af1eb68136f936ca (patch)
tree6dc7e27a45d7ae9e24265fab22fe65ebd0c813b7 /tools/perf/scripts/python/export-to-sqlite.py
parenta8576af9d1b03a1b8aba7228e938ab0817fdbda6 (diff)
io_uring: deduplicate cancellation code
IORING_OP_ASYNC_CANCEL and IORING_OP_LINK_TIMEOUT have enough of overlap, so extract a helper for request cancellation and use in both. Also, removes some amount of ugliness because of success_ret. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/900122b588e65b637e71bfec80a260726c6a54d6.1628981736.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions