-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new(driver): unify support for io_uring
syscall family between drivers
#844
Conversation
Wow great job Andrea! Gonna give a look at this asap! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are only testing syscall failures here, right?
Left a comment, but the PR lgtm!
Yes, collected data don't change if the syscall is successful or fails, so testing the failure case without adding other entropy in the testing framework seems the right way to go :) |
driver/modern_bpf/programs/tail_called/events/syscall_dispatched_events/io_uring_enter.bpf.c
Show resolved
Hide resolved
driver/modern_bpf/programs/tail_called/events/syscall_dispatched_events/io_uring_setup.bpf.c
Outdated
Show resolved
Hide resolved
test/drivers/test_suites/syscall_exit_suite/io_uring_setup_x.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Andrea Terzolo <[email protected]>
Signed-off-by: Andrea Terzolo <[email protected]>
Signed-off-by: Andrea Terzolo <[email protected]>
Signed-off-by: Andrea Terzolo <[email protected]> Co-authored-by: Federico Di Pierro <[email protected]>
Signed-off-by: Andrea Terzolo <[email protected]> Co-authored-by: Hendrik Brueckner <[email protected]>
Signed-off-by: Andrea Terzolo <[email protected]> Co-authored-by: Hendrik Brueckner <[email protected]>
c13a4c5
to
502ecb7
Compare
Rebased and added 3 commits to address review comments :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
/approve
LGTM label has been added. Git tree hash: 128a1a6ef32bd1150154aacbf8d3e99e7b4c0d73
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @Andreagit97 !
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Andreagit97, FedeDP, hbrueckner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area driver-kmod
/area driver-bpf
/area driver-modern-bpf
/area libpman
/area tests
Does this PR require a change in the driver versions?
No
What this PR does / why we need it:
On one side this PR supports 3 missing syscalls in the modern bpf probe #723:
io_uring_enter
io_uring_register
io_uring_setup
On the other side it unifies the behavior of this syscall between our 3 drivers:
struct io_uring_params
is invalidWhich issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?: