summaryrefslogtreecommitdiff
path: root/internal/bpfsetup.go
AgeCommit message (Collapse)Author
2026-05-13fix: wrap SetMaxEntries and GetMap errors in resizeBPFMap with map name contextPaul Buetow
Raw errors from GetMap and SetMaxEntries gave no indication of which BPF map failed. Wrap both with fmt.Errorf including the map name (and target size for SetMaxEntries) so callers can immediately identify the offending map. Also simplify resizeBPFMaps to return directly since resizeBPFMap now carries full context, removing the redundant outer wrap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06refactor: rename flags.Flags to flags.Config (task 383)Paul Buetow
2026-03-01Move BPF setup off flags.FlagsPaul Buetow