Skip to content

Commit

Permalink
increase ringbuffer size :^) (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite authored Sep 29, 2022
1 parent cac3ca4 commit 20d902b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPL/Events/EventProbe.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ char LICENSE[] SEC("license") = "Dual BSD/GPL";

struct {
__uint(type, BPF_MAP_TYPE_RINGBUF);
__uint(max_entries, 4096 * 64); // 256KB
__uint(max_entries, 2 * 1024 * 1024); // 2MB
} ringbuf SEC(".maps");

#include "File/Probe.bpf.c"
Expand Down

0 comments on commit 20d902b

Please sign in to comment.