summaryrefslogtreecommitdiff
path: root/internal/statsengine/doc.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-13 14:37:47 +0300
committerPaul Buetow <paul@buetow.org>2026-05-13 14:37:47 +0300
commitde6b9c4741dea87ce66e0309bac580030490dc30 (patch)
treee535c606fb9ec90cacb3790544fe50038f7850e1 /internal/statsengine/doc.go
parent306b9eb1c1054992506dd36fc9f1b64e11276598 (diff)
refactor(generate): replace classifySyscall switches with kindRegistry (OCP)
Introduce kindregistry.go with a kindMeta struct (structName, enterAccepted) and a kindRegistry map keyed by TracepointKind. Replace the switch in isEnterRejected (codegen.go) and the switch in eventStructName (bpfhandler.go) with lookupKind registry lookups. Adding a new TracepointKind now only requires a single registry entry — no switch statements need to be touched. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/statsengine/doc.go')
0 files changed, 0 insertions, 0 deletions