Open agentzh opened 8 months ago
The global shm is leaking because there is no way to release a particular eBPF program individually. We can only free up everything like this:
$ bpftimetool remove [2024-01-26 23:03:24.274] [info] [bpftime_shm_internal.cpp:46] Global shm removed
Maybe we can specify an argument of ebpf program name or ebpf program ID (we'll also need a way to lookup such IDs, though).
Maybe we need to identify all the ebpf program we used in the global shm and manage it
The global shm is leaking because there is no way to release a particular eBPF program individually. We can only free up everything like this:
Maybe we can specify an argument of ebpf program name or ebpf program ID (we'll also need a way to lookup such IDs, though).