diff options
author | Andrii Nakryiko <[email protected]> | 2024-07-08 13:45:40 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-07-09 19:03:36 -0700 |
commit | a459f4bb27f2e2730039c57786b82288742c8c74 (patch) | |
tree | e4a4e77fe98c18d7efda89eabd3de9fd9d8bc962 /tools/testing/selftests/bpf/prog_tests/timer.c | |
parent | 99fb9531886d8ffa0aa9a693089784c7338518a3 (diff) |
libbpf: improve old BPF skeleton handling for map auto-attach
Improve how we handle old BPF skeletons when it comes to BPF map
auto-attachment. Emit one warn-level message per each struct_ops map
that could have been auto-attached, if user provided recent enough BPF
skeleton version. Don't spam log if there are no relevant struct_ops
maps, though.
This should help users realize that they probably need to regenerate BPF
skeleton header with more recent bpftool/libbpf-cargo (or whatever other
means of BPF skeleton generation).
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/timer.c')
0 files changed, 0 insertions, 0 deletions