diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-29 17:31:03 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-29 17:31:03 +0300 |
| commit | 372d01873ccdc7db9a076c12577d5b1ab6288d10 (patch) | |
| tree | 352f6c5add860bf8d9644f533c25dc7624379ad0 /internal/generate/testdata.go | |
| parent | b184674de2bc4f3cb27aaa31bcc64c3f3976ecff (diff) | |
test(syncfs): lock in FS family + fd kind classification
Audit of syncfs(2) confirmed the existing tracing is correct: single fd
arg (fd=args[0], KindFd), FamilyFS like its fsync/fdatasync/
sync_file_range siblings, and an int 0/-1 return that stays Unclassified
(plain ret_event). No code or generated artifacts changed.
Add lock-in tests so a stray reclassification trips CI:
- TestClassifySyncFamilyFdSyscallsByName: enter -> KindFd for the
fsync/fdatasync/syncfs/sync_file_range group.
- TestClassifyExitSyncfs: exit -> KindRet.
- sync-family FamilyFS assertions in TestClassifySyncallFamily.
- syncfs added to the ret-UNCLASSIFIED list.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/generate/testdata.go')
0 files changed, 0 insertions, 0 deletions
