Note: lists.iovisor.org will be down for maintenance on Monday, September 26th, starting at 9AM Pacific Time (4PM Monday September 26, 2022 UTC), for approximately one hour.
Can multiple BPF programs use same per-cpu perf ring buffer?
Imagine I have a per-cpu perf ring buffer for all my cpus.
Now I have two eBPF programs.
In both these eBPF programs I do bpf_update_elem(myFD, &cpunumberkey,
Will this mean that multiple eBPF programs will be able to write their
data into a single buffer (of course associated with cpu).
This would be amazing if it is truly possible. It seems like it should
I have not tried yet.
On Sun, Feb 16, 2020 at 8:43 PM Hayden Livingston
Yes, you can do this.