I'm trying, finally, to understand eBPF and maybe use it in an upcoming project. For sake of simplicity I started with reading bcc documentation.
In my project I'll need to send some data over network upon some kernel function calls. Can that be done without sending the data to userspace first?
I see that I can redirect skbs from one socket to another etc., and I see that I can submit custom data to user space. Is there a way to get the best of both worlds?
EDIT: I'm trying to log some file system events to another server that'll collect this data from multiple machines. Those machines can be fairly busy in some situations. It should be real time and with low latency. I'd love to avoid going through userspace to prevent copying the data back and forth and to reduce sw overhead as much as possible.
Thank you all!