diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-30 10:06:21 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-30 10:06:21 +0300 |
| commit | 66fdd29a27af496091bbfff827d5e16d8f168798 (patch) | |
| tree | 350a814c8314efa7bf43155b8a21428f61948192 /internal/tracepoints | |
| parent | 97631f8e50665ee374d88929743079cfaa9fad47 (diff) | |
fix(family): reclassify get_mempolicy as Memory not Security
get_mempolicy(2) retrieves the NUMA memory policy for a thread or
address range and is logically a Memory-family syscall, sharing
FamilyMemory with its NUMA siblings set_mempolicy, set_mempolicy_home_node,
mbind, migrate_pages, and move_pages. It was misclassified FamilySecurity
(a copy/paste/alphabetical-ordering slip alongside the security modules).
Move it to the Memory group in internal/generate/family.go, update the
Memory and Security lists in docs/syscall-tracing-plan.md (keeps the
docs_drift_test green), and regenerate artifacts (traceId2Family 735/734
and syscallFamilies[get_mempolicy] flip Security->Memory; C unchanged,
mage generate idempotent). Add enter+exit family lock-in assertions for
get_mempolicy and set_mempolicy alongside the NUMA siblings so the whole
cluster is pinned.
Task 120.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/tracepoints')
| -rw-r--r-- | internal/tracepoints/generated_tracepoints.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tracepoints/generated_tracepoints.go b/internal/tracepoints/generated_tracepoints.go index a53fcca..b0f9112 100644 --- a/internal/tracepoints/generated_tracepoints.go +++ b/internal/tracepoints/generated_tracepoints.go @@ -819,7 +819,7 @@ var syscallFamilies = map[string]string{ "futex_waitv": "IPC", "futex_wake": "IPC", "futimesat": "FS", - "get_mempolicy": "Security", + "get_mempolicy": "Memory", "get_robust_list": "Misc", "getcpu": "Misc", "getcwd": "FS", |
