diff options
author | Dave Marchevsky <davemarchevsky@fb.com> | 2021-10-11 10:20:30 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-11-01 22:16:40 +0100 |
commit | 6ac22d036f86c4e2d38bea1108672f947f7facca (patch) | |
tree | aed558bbf075271454aed9c0fa3377983bbddbf0 /tools/perf/util/bpf-event.h | |
parent | Revert "perf bench futex: Add support for 32-bit systems with 64-bit time_t" (diff) | |
download | linux-6ac22d036f86c4e2d38bea1108672f947f7facca.tar.xz linux-6ac22d036f86c4e2d38bea1108672f947f7facca.zip |
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>
Diffstat (limited to 'tools/perf/util/bpf-event.h')
-rw-r--r-- | tools/perf/util/bpf-event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/bpf-event.h b/tools/perf/util/bpf-event.h index 68f315c3df5b..144a8a24cc69 100644 --- a/tools/perf/util/bpf-event.h +++ b/tools/perf/util/bpf-event.h @@ -19,7 +19,7 @@ struct evlist; struct target; struct bpf_prog_info_node { - struct bpf_prog_info_linear *info_linear; + struct perf_bpil *info_linear; struct rb_node rb_node; }; |