summaryrefslogtreecommitdiff
path: root/integrationtests/iouring_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests/iouring_test.go')
-rw-r--r--integrationtests/iouring_test.go33
1 files changed, 33 insertions, 0 deletions
diff --git a/integrationtests/iouring_test.go b/integrationtests/iouring_test.go
new file mode 100644
index 0000000..20c156c
--- /dev/null
+++ b/integrationtests/iouring_test.go
@@ -0,0 +1,33 @@
+package integrationtests
+
+import "testing"
+
+func TestIouringSetup(t *testing.T) {
+ runScenario(t, "iouring-setup", []ExpectedEvent{
+ {
+ Tracepoint: "enter_io_uring_setup",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}
+
+func TestIouringEnter(t *testing.T) {
+ runScenario(t, "iouring-enter", []ExpectedEvent{
+ {
+ Tracepoint: "enter_io_uring_enter",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}
+
+func TestIouringRegister(t *testing.T) {
+ runScenario(t, "iouring-register", []ExpectedEvent{
+ {
+ Tracepoint: "enter_io_uring_register",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}