diff options
| author | Anton Protopopov <a.s.protopopov@gmail.com> | 2025-03-31 20:36:18 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2025-04-04 08:53:24 -0700 |
| commit | dafae1ae2ad32d124ce4efb2105c00ccadc7bd32 (patch) | |
| tree | 2bc06ff098a7a77679dc0b6c85d9fc8794b059af /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | bpf: Fix a comment describing bpf_attr (diff) | |
| download | linux-dafae1ae2ad32d124ce4efb2105c00ccadc7bd32.tar.gz linux-dafae1ae2ad32d124ce4efb2105c00ccadc7bd32.zip | |
libbpf: Add likely/unlikely macros and use them in selftests
A few selftests and, more importantly, consequent changes to the
bpf_helpers.h file, use likely/unlikely macros, so define them here
and remove duplicate definitions from existing selftests.
Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250331203618.1973691-3-a.s.protopopov@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
