Re: Reading Pinned maps in eBPF Programs


Andrii Nakryiko
 

On Thu, Aug 27, 2020 at 6:55 AM Ian <icampbe14@gmail.com> wrote:

Hey Andrii,

I tried using the same BPF program with the declarative pinning of maps with Libbpf v.0.0.9, v.0.1.0 and the current master branch under commit 7bc52e6. All of these had the same error being generated requiring BTF. I will update this post with the Libbpf debugger messages once I figure out how to set those up/find them! Is there anything other than that you might need from me?
Check example [0] for how to set custom logging callback and print all
libbpf logs (including those at DEBUG level of verbosity).

[0] https://github.com/iovisor/bcc/blob/master/libbpf-tools/runqslower.c#L136



By the way, thank you so much for all your help!
You are welcome!


Ian

Join iovisor-dev@lists.iovisor.org to automatically receive all group messages.