aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2022-02-21 05:49:30 -0700
committerJens Axboe <[email protected]>2022-02-21 05:55:42 -0700
commit228339662b398a59b3560cd571deb8b25b253c7e (patch)
tree059cd282c54b5d4370d2837a46b5fee563c880d1 /tools/perf/scripts/python/export-to-sqlite.py
parentf240762f88b4b1b58561939ffd44837759756477 (diff)
io_uring: don't convert to jiffies for waiting on timeouts
If an application calls io_uring_enter(2) with a timespec passed in, convert that timespec to ktime_t rather than jiffies. The latter does not provide the granularity the application may expect, and may in fact provided different granularity on different systems, depending on what the HZ value is configured at. Turn the timespec into an absolute ktime_t, and use that with schedule_hrtimeout() instead. Link: https://github.com/axboe/liburing/issues/531 Cc: [email protected] Reported-by: Bob Chen <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions