Re: Reading Pinned maps in eBPF Programs
Tristan Mayfield
I wanted to chime in and mention that I've seen the BTF error before when trying to declare maps the way shown in https://github.com/torvalds/linux/blob/master/tools/testing/selftests/bpf/progs/test_pinning.c. I haven't run through a debugger yet to verify that's the issue, but I have verified on the opensnoop code Ian posted. |
|