eunomia-bpf / bpftime

Userspace eBPF runtime for fast Uprobe & Syscall hook & Extensions with LLVM JIT
https://eunomia.dev/bpftime/
MIT License
699 stars 70 forks source link

[FEATURE] Add better ways to clean up the share memory #162

Open yunwei37 opened 6 months ago

yunwei37 commented 6 months ago

Is your feature request related to a problem? Please describe.

The shm will not be automatically clean when the eBPF application exists. We need to clean it up.

Describe the solution you'd like

It needs to be similar like https://eunomia.dev/tutorials/28-detach/

Describe alternatives you've considered

Provide usage examples

Additional context