summaryrefslogtreecommitdiff
path: root/internal/eventloop_exit.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-21 11:45:09 +0300
committerPaul Buetow <paul@buetow.org>2026-05-21 11:45:09 +0300
commit8bd5f17ae2cd662b21fcd45a849c4b701a3aa40f (patch)
tree338b145f35995aa5db1726f93f862a79a9de7a2a /internal/eventloop_exit.go
parentc58aa139f5e7252aefb1bcacb5fa8b9ea8cdcdef (diff)
g7 classify fd-from-air eventfd users
Diffstat (limited to 'internal/eventloop_exit.go')
-rw-r--r--internal/eventloop_exit.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/eventloop_exit.go b/internal/eventloop_exit.go
index df2e557..1212de6 100644
--- a/internal/eventloop_exit.go
+++ b/internal/eventloop_exit.go
@@ -508,6 +508,16 @@ func pipeDescriptorName(flags, fd0, fd1 int32) string {
func eventfdDescriptorName(traceID types.TraceId, flags int32) string {
switch traceID {
+ case types.SYS_ENTER_EPOLL_CREATE, types.SYS_ENTER_EPOLL_CREATE1:
+ return fmt.Sprintf("epollfd:%d", flags)
+ case types.SYS_ENTER_INOTIFY_INIT, types.SYS_ENTER_INOTIFY_INIT1:
+ return fmt.Sprintf("inotifyfd:%d", flags)
+ case types.SYS_ENTER_FANOTIFY_INIT:
+ return fmt.Sprintf("fanotifyfd:%d", flags)
+ case types.SYS_ENTER_LANDLOCK_CREATE_RULESET:
+ return fmt.Sprintf("landlockfd:%d", flags)
+ case types.SYS_ENTER_FSOPEN:
+ return fmt.Sprintf("fsopenfd:%d", flags)
case types.SYS_ENTER_MEMFD_CREATE:
return fmt.Sprintf("memfd:%d", flags)
case types.SYS_ENTER_MEMFD_SECRET: