]> git.baikalelectronics.ru Git - kernel.git/commit
perf bpf: Pull in bpf_program__get_prog_info_linear()
authorDave Marchevsky <davemarchevsky@fb.com>
Mon, 11 Oct 2021 08:20:30 +0000 (01:20 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Nov 2021 21:16:40 +0000 (18:16 -0300)
commit5c3200453bcd61e45b8f858d5549a567ab530ec9
treeaed558bbf075271454aed9c0fa3377983bbddbf0
parent6eaa35bf2854158a8875972c9226c474e9d278fa
perf bpf: 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>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20211011082031.4148337-4-davemarchevsky@fb.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.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