]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Pull in bpf_program__get_prog_info_linear
authorDave Marchevsky <davemarchevsky@fb.com>
Mon, 1 Nov 2021 22:43:56 +0000 (15:43 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 3 Nov 2021 18:25:36 +0000 (11:25 -0700)
commite8245758273f88baebf3e6b8c18a186e02bdd26b
tree5a1e5d4f7ac5267e5c96fe0100406b7c5683f603
parent3d2b717587d53a349f4eb610d7698db9a2eff621
perf: Pull in bpf_program__get_prog_info_linear

To prepare for impending deprecation of libbpf's
bpf_program__get_prog_info_linear, pull in the function and associated
helpers into the perf codebase and migrate existing uses to the perf
copy.

Since libbpf's deprecated definitions will still be visible to perf, it
is necessary to rename perf's definitions.

Signed-off-by: Dave Marchevsky <davemarchevsky@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20211101224357.2651181-4-davemarchevsky@fb.com
tools/perf/Documentation/perf.data-file-format.txt
tools/perf/util/Build
tools/perf/util/annotate.c
tools/perf/util/bpf-event.c
tools/perf/util/bpf-event.h
tools/perf/util/bpf-utils.c [new file with mode: 0644]
tools/perf/util/bpf-utils.h [new file with mode: 0644]
tools/perf/util/bpf_counter.c
tools/perf/util/dso.c
tools/perf/util/env.c
tools/perf/util/header.c