diff options
| author | Kui-Feng Lee <thinker.li@gmail.com> | 2024-03-14 00:41:38 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2024-03-14 23:47:05 +0300 |
| commit | 26a7cf2bbea656837583f9a1a0f9390db63d6cc3 (patch) | |
| tree | 23b3d167b14c63d771404758606aebfb8aaaa812 /tools/perf/scripts/python/syscall-counts.py | |
| parent | c911fc61a7ce367f9ea48e457f31bb171e80ca4d (diff) | |
| download | linux-26a7cf2bbea656837583f9a1a0f9390db63d6cc3.tar.xz | |
selftests/bpf: Ensure libbpf skip all-zeros fields of struct_ops maps.
A new version of a type may have additional fields that do not exist in
older versions. Previously, libbpf would reject struct_ops maps with a new
version containing extra fields when running on a machine with an old
kernel. However, we have updated libbpf to ignore these fields if their
values are all zeros or null in order to provide backward compatibility.
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240313214139.685112-3-thinker.li@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
