[FEATURE] Add libraries for event driven eBPF porgrams
yunwei37 opened this issue · comments
云微 commented
Is your feature request related to a problem? Please describe.
Make the user development experience more simple. Currently developers will need to handle the polling themselves.
Describe the solution you'd like
Add a Wasm library (can be in any languages, which will be compiled and link to the user functions) to help polling the eBPF buffers. So, the developer can focus on develop event-driven handlers.
Provide usage examples
For example, the only thing user will develop is:
void process_event(void* input_data, int input_size, void* output_data, int output_size) {
// xxx process
}