summaryrefslogtreecommitdiff
path: root/internal/tracepoints
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 10:09:19 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 10:09:19 +0300
commitd0850ae4dd8688f07c67245ce4e30f90e073a9c1 (patch)
treefc07c0e64721e1a22d3a58e61be4dbd8a274831f /internal/tracepoints
parent5eeef7f56c453dd831cf16c9f5342ded8fcb4680 (diff)
test(generate): lock in getpeername exit classification as KindRet
Audit of the getpeername(2) syscall confirmed the tracing pipeline already matches the man page: FamilyNetwork + KindFd (sockfd at args[0]) on enter, and a plain ret_event (int 0/-1) on exit. The enter classification was already covered by TestClassifySocketFdSyscallsByName, but the exit path (resolved via the generic 'ret' field matcher) had no dedicated assertion. Add TestClassifyExitGetpeername to pin sys_exit_getpeername -> KindRet so future classifier changes cannot silently regress it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/tracepoints')
0 files changed, 0 insertions, 0 deletions