summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAnton Protopopov <a.s.protopopov@gmail.com>2025-10-19 20:21:30 +0000
committerAlexei Starovoitov <ast@kernel.org>2025-10-21 11:17:25 -0700
commitf7d72d0b3f438b881dba16c7c00493f16e41a821 (patch)
tree9fdc4627b93f637f1973b3936f38ef52a819771b /tools/testing/selftests/bpf/prog_tests/autoload.c
parent6ea5fc92a0fc1cde976cb701db2c1dba4dcab7cf (diff)
bpf: save the start of functions in bpf_prog_aux
Introduce a new subprog_start field in bpf_prog_aux. This field may be used by JIT compilers wanting to know the real absolute xlated offset of the function being jitted. The func_info[func_id] may have served this purpose, but func_info may be NULL, so JIT compilers can't rely on it. Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20251019202145.3944697-3-a.s.protopopov@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions