diff options
| author | Breno Leitao <[email protected]> | 2023-05-04 12:18:54 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-05-04 14:19:05 +0000 |
| commit | 96c7d4f81db0fea05c0792f7563ae0cb4ad5f022 (patch) | |
| tree | 3ba7822915e1b177a9680b19d0cf4a1b1b35a141 /tools/perf/scripts/python/sctop.py | |
| parent | io_uring/rsrc: check for nonconsecutive pages (diff) | |
| download | kernel-96c7d4f81db0fea05c0792f7563ae0cb4ad5f022.tar.gz kernel-96c7d4f81db0fea05c0792f7563ae0cb4ad5f022.zip | |
io_uring: Create a helper to return the SQE size
Create a simple helper that returns the size of the SQE. The SQE could
have two size, depending of the flags.
If IO_URING_SETUP_SQE128 flag is set, then return a double SQE,
otherwise returns the sizeof of io_uring_sqe (64 bytes).
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
