From 8bd5f17ae2cd662b21fcd45a849c4b701a3aa40f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 21 May 2026 11:45:09 +0300 Subject: g7 classify fd-from-air eventfd users --- internal/eventloop_exit.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'internal/eventloop_exit.go') 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: -- cgit v1.2.3