We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c290b18 commit 5fdc7f3Copy full SHA for 5fdc7f3
pkg/ebpf/perf_count.go
@@ -30,6 +30,10 @@ func (t *Tracee) countPerfEventSubmissions(ctx context.Context) {
30
31
evtStatZero := eventStatsValues{}
32
for _, id := range t.policyManager.EventsToSubmit() {
33
+ if id >= events.MaxCommonID {
34
+ continue
35
+ }
36
+
37
key := uint32(id)
38
err := evtsCountsBPFMap.Update(unsafe.Pointer(&key), unsafe.Pointer(&evtStatZero))
39
if err != nil {
0 commit comments