diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2022-06-24 13:36:23 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-06-24 13:36:23 -0700 |
commit | 780d3d5a24bbdd48cb43f35afb6f5b7544cdf45a (patch) | |
tree | 14d0e7a5b0961fa7efe772c670e881ab3e1261ce /tools/testing/selftests/bpf/prog_tests/linked_funcs.c | |
parent | 41188e9e9defa1678abbf860ad7f6dd1ba48ad1c (diff) | |
parent | b168852eb8eff57b63e72e3bc584bda3d2cb9577 (diff) |
Merge branch 'perf tools: Fix prologue generation'
Jiri Olsa says:
====================
hi,
sending change we discussed some time ago [1] to get rid of
some deprecated functions we use in perf prologue code.
Despite the gloomy discussion I think the final code does
not look that bad ;-)
This patchset removes following libbpf functions from perf:
bpf_program__set_prep
bpf_program__nth_fd
struct bpf_prog_prep_result
v5 changes:
- squashed patches together so we don't break bisection [Arnaldo]
v4 changes:
- fix typo [Andrii]
v3 changes:
- removed R0/R1 zero init in libbpf_prog_prepare_load_fn,
because it's not needed [Andrii]
- rebased/post on top of bpf-next/master which now has
all the needed perf/core changes
v2 changes:
- use fallback section prog handler, so we don't need to
use section prefix [Andrii]
- realloc prog->insns array in bpf_program__set_insns [Andrii]
- squash patch 1 from previous version with
bpf_program__set_insns change [Daniel]
- patch 3 already merged [Arnaldo]
- added more comments
thanks,
jirka
[1] https://lore.kernel.org/bpf/CAEf4BzaiBO3_617kkXZdYJ8hS8YF--ZLgapNbgeeEJ-pY0H88g@mail.gmail.com/
====================
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/linked_funcs.c')
0 files changed, 0 insertions, 0 deletions