Bug 408858 - Add new io_uring_register, setup, enter syscalls
Summary: Add new io_uring_register, setup, enter syscalls
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.15 SVN
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
: 428858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-18 02:49 UTC by zbbjornson
Modified: 2020-12-28 20:44 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zbbjornson 2019-06-18 02:49:56 UTC
SUMMARY

io_uring adds three new Linux syscalls that Valgrind doesn't support yet:

io_uring_setup 425
io_uring_enter 426
io_uring_register 427

Thanks!
Comment 1 Julian Seward 2019-12-28 16:19:33 UTC
Do you have a patch that fixes this, or any test cases?
Comment 2 zbbjornson 2020-04-10 21:09:13 UTC
I don't have a usable patch unfortunately. (Have a sloppy one that I could try to rework sometime.)

The easiest test is probably the liburing test suite:

https://github.com/axboe/liburing

or fio with ioengine=io_uring:

https://github.com/axboe/fio
Comment 3 Mark Wielaard 2020-04-29 12:15:39 UTC
(In reply to zbbjornson from comment #2)
> I don't have a usable patch unfortunately. (Have a sloppy one that I could
> try to rework sometime.)

Feel free to post your "sloppy" patch. It could help someone come up with a full/real one.

LWN has some more background on io_uring:
https://lwn.net/Kernel/Index/#io_uring
Comment 4 Mark Wielaard 2020-11-08 20:51:18 UTC
*** Bug 428858 has been marked as a duplicate of this bug. ***
Comment 5 Daniil 2020-12-28 20:44:03 UTC
Looks like the new syscalls were added in https://sourceware.org/git/?p=valgrind.git;a=commit;h=97fa86915e717dc68123f05b668b73adfe8885a9

This commit, however, was added after 3.15 version, but it should be fixed in 3.16.