diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-19 20:29:31 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-19 20:29:31 +0300 |
| commit | 11a8642b7035ff558fb84d7761e93525c84e4908 (patch) | |
| tree | aa1f501fcf8f3a5474d26658731782e061cccc15 /internal/generate/classify.go | |
| parent | c67b34fca467fc4e5e8aba7a1b8929d8aa55a833 (diff) | |
z6: add KindPoll wiring for poll/select ready counts
Diffstat (limited to 'internal/generate/classify.go')
| -rw-r--r-- | internal/generate/classify.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/generate/classify.go b/internal/generate/classify.go index 21a8bf9..7c391fb 100644 --- a/internal/generate/classify.go +++ b/internal/generate/classify.go @@ -21,6 +21,7 @@ const ( KindPipe KindEventfd KindEpollCtl + KindPoll ) type RetClassification string @@ -139,6 +140,14 @@ func classifyNameOnly(name string) (ClassificationResult, bool) { return ClassificationResult{Kind: KindFd}, true case "sys_enter_epoll_ctl": return ClassificationResult{Kind: KindEpollCtl}, true + case "sys_enter_poll": + return ClassificationResult{Kind: KindPoll}, true + case "sys_enter_ppoll": + return ClassificationResult{Kind: KindPoll}, true + case "sys_enter_select": + return ClassificationResult{Kind: KindPoll}, true + case "sys_enter_pselect6": + return ClassificationResult{Kind: KindPoll}, true } if strings.HasPrefix(name, "sys_enter_io_") { return ClassificationResult{Kind: KindNull}, true |
