Re: Reading Pinned maps in eBPF Programs
Yonghong Song
On Fri, Aug 14, 2020 at 12:05 PM Ian <icampbe14@...> wrote:
You can use bpf_obj_get() API to get a reference to the pinned map. BPF_ANNOTATE_KV_PAIR is old way to provide map key/value types, mostly for pretty print. bcc still uses it. libbpf can use more advanced mechanisms with direct .maps section attribute.
|
|