summaryrefslogtreecommitdiff
path: root/integrationtests
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-21 08:28:37 +0300
committerPaul Buetow <paul@buetow.org>2026-05-21 08:28:37 +0300
commita0d6f222864301c11afd9c1d3306e6bfe8446d5d (patch)
tree5c8c206146f5f41d930971284082cdc30e6b6a04 /integrationtests
parentbe8735fe701f7398c19c17c394f4827614eab875 (diff)
f7 wire eventfd kind for fd-from-air IPC syscalls
Diffstat (limited to 'integrationtests')
-rw-r--r--integrationtests/ipc_test.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/integrationtests/ipc_test.go b/integrationtests/ipc_test.go
index 007ebc2..c48abb8 100644
--- a/integrationtests/ipc_test.go
+++ b/integrationtests/ipc_test.go
@@ -51,6 +51,30 @@ func TestEventfd2Basic(t *testing.T) {
assertTracepointPathPrefix(t, result, "enter_close", "eventfd:")
}
+func TestFdFromAirEventfdUsers(t *testing.T) {
+ enableParallelIfRequested(t)
+ h := newTestHarness(t)
+ result, pid, err := h.RunWithIorArgs("fd-from-air-eventfd-users", defaultDuration, []string{
+ "-trace-families", "IPC",
+ })
+ if err != nil {
+ t.Fatalf("run scenario fd-from-air-eventfd-users: %v", err)
+ }
+ AssertNoUnexpectedPID(t, result, pid)
+ AssertNoUnexpectedComm(t, result, "ioworkload")
+ AssertEventsPresent(t, result, []ExpectedEvent{
+ {Tracepoint: "enter_memfd_create", MinCount: 1},
+ {Tracepoint: "enter_memfd_secret", MinCount: 1},
+ {Tracepoint: "enter_userfaultfd", MinCount: 1},
+ {Tracepoint: "enter_signalfd", MinCount: 1},
+ {Tracepoint: "enter_signalfd4", MinCount: 1},
+ {Tracepoint: "enter_timerfd_create", MinCount: 1},
+ })
+
+ assertTracepointPathPrefix(t, result, "enter_memfd_create", "memfd:")
+ assertTracepointPathPrefix(t, result, "enter_timerfd_create", "timerfd:")
+}
+
func TestPosixMqBasic(t *testing.T) {
enableParallelIfRequested(t)
h := newTestHarness(t)