summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-05-09 09:29:14 -0600
committerJens Axboe <axboe@kernel.dk>2022-05-13 06:28:50 -0600
commita8da73a32b6e9271a613e5a0e90a8c35f40abeb8 (patch)
treee42e5f63b825f72c1597f46979937319608529cf /tools/perf/scripts/python/export-to-sqlite.py
parent09893e15f1e9910711c152cd126ccfa85581ba83 (diff)
io_uring: add flag for allocating a fully sparse direct descriptor space
Currently to setup a fully sparse descriptor space upfront, the app needs to alloate an array of the full size and memset it to -1 and then pass that in. Make this a bit easier by allowing a flag that simply does this internally rather than needing to copy each slot separately. This works with IORING_REGISTER_FILES2 as the flag is set in struct io_uring_rsrc_register, and is only allow when the type is IORING_RSRC_FILE as this doesn't make sense for registered buffers. Reviewed-by: Hao Xu <howeyxu@tencent.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