[Bpf] Re: Writing into a ring buffer map from user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adding bpf@xxxxxxxxxxxxxxx

A common use case of an BPF ring buffer map to use as a queue of events generated by BPF programs that can be read in-order by user space applications. I have a scenario requirement for a user space application to write into a ring buffer (or similar) map, such that events by BPF programs in kernel and user space applications are interleaved in the order they were generated, that can be consumed by another user space application

I would like to implement this new feature in the https://github.com/microsoft/ebpf-for-windows project. But before I go ahead with the implementation, I wanted to check if there is any way to accomplish this in Linux today? If not, is there any reason why this should not be done?

Thanks,
Shankar

শংকর শীল

 


From: Shankar Seal
Sent: Tuesday, May 28, 2024 12:40 AM
To: bpf@xxxxxxxx <bpf@xxxxxxxx>
Subject: Writing into a ring buffer map from user space
 

I have a scenario requirement for a user space application to write into a ring buffer eBPF map that I would like to implement in the https://github.com/microsoft/ebpf-for-windows project. Is there any way to accomplish this in Linux today? If not, is there any reason why this should not be done?


Thanks,
Shankar

শংকর শীল

 

-- 
Bpf mailing list -- bpf@xxxxxxxx
To unsubscribe send an email to bpf-leave@xxxxxxxx

[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux