diff options
author | Pavel Begunkov <[email protected]> | 2020-12-17 00:24:37 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-12-17 08:40:52 -0700 |
commit | e23de15fdbd3070446b2d212373c0ae556f63d93 (patch) | |
tree | 2cd3742152ed775b029405d138a7b7aaae97e7fa /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9cd2be519d05ee78876d55e8e902b7125f78b74f (diff) |
io_uring: consolidate CQ nr events calculation
Add a helper which calculates number of events in CQ. Handcoded version
of it in io_cqring_overflow_flush() is not the clearest thing, so it
makes it slightly more readable.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions