Re: Reading Pinned maps in eBPF Programs
On Mon, Aug 17, 2020 at 6:36 AM Ian <icampbe14@...> wrote:
Libbpf supports declarative pinning of maps, that's how you easily get
"map re-use" from BPF side. See  for example.
But there is also bpf_map__pin() and bpf_map__reuse_fd() API on
user-space side to set everything up, if you need to do it more
I have seen a function called bpf_obj_get_user in linux/bpf.h but I cannot find any documentation on it. It also just returns an unsupported error in my kernel's source code.