summaryrefslogtreecommitdiff
path: root/integrationtests/iouring_test.go
blob: 20c156c54170dbb2fcede74e84832c86f22ea10a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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,
		},
	})
}