summaryrefslogtreecommitdiff
path: root/internal/tracepoints
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 17:22:56 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 17:22:56 +0300
commit4df620818f603564b2e6f4def6052baa72b2fbb1 (patch)
tree133ea6c3d95304dc823319aaecab8dca8d8866da /internal/tracepoints
parent8e524f9ca7f8c105f395bfa111f1b052206bc836 (diff)
utime/utimes: classify as FS family (fix Misc misclassification)
utime(2) and utimes(2) change a file's access/modification times by a real filesystem path (filename at args[0]). The path was already captured (KindPathname), but both syscalls fell through to FamilyMisc instead of joining their siblings utimensat/futimesat in FamilyFS. Add them to fsSyscalls and regenerate; the only generated change is trace IDs 1034-1037 flipping FamilyMisc -> FamilyFS. Lock-in coverage: - family_test.go asserts utime/utimes/utimensat/futimesat are all FamilyFS. - classify_test.go + FormatUtime fixture assert utime is KindPathname with PathnameField "filename" (path captured even though it is a char* string, unlike domain/host name args). - New ioworkload scenarios utime-basic/utimes/enoent and integration tests TestUtimeBasic/Utimes/Enoent verify the path is captured at runtime, including on the ENOENT error path. Docs updated: moved utime/utimes from Misc to FS in docs/syscall-tracing-plan.md to keep the drift tests green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/tracepoints')
-rw-r--r--internal/tracepoints/generated_tracepoints.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tracepoints/generated_tracepoints.go b/internal/tracepoints/generated_tracepoints.go
index c8d214d..92d08ce 100644
--- a/internal/tracepoints/generated_tracepoints.go
+++ b/internal/tracepoints/generated_tracepoints.go
@@ -1094,9 +1094,9 @@ var syscallFamilies = map[string]string{
"uretprobe": "Misc",
"userfaultfd": "IPC",
"ustat": "FS",
- "utime": "Misc",
+ "utime": "FS",
"utimensat": "FS",
- "utimes": "Misc",
+ "utimes": "FS",
"vfork": "Process",
"vhangup": "Process",
"vmsplice": "Misc",