On Sun, Feb 16, 2020 at 8:43 PM Hayden Livingston <[email protected]> wrote: > > 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, > &fdOfCPUspecificBuffer, BPF_ANY) > > 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 > be possible.
Yes, you can do this. > > I have not tried yet. > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1807): https://lists.iovisor.org/g/iovisor-dev/message/1807 Mute This Topic: https://lists.iovisor.org/mt/71343794/21656 Group Owner: [email protected] Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
