Commit Graph

1 Commits

Author SHA1 Message Date
Michael Petlan 0d4b9186a3 perf bpf: Pull in bpf_program__get_prog_info_linear()
Bugzilla: https://bugzilla.redhat.com/2069073

upstream
========
commit 6ac22d036f86c4e2d38bea1108672f947f7facca
Author: Dave Marchevsky <davemarchevsky@fb.com>
Date: Mon Oct 11 01:20:30 2021 -0700

description
===========
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: Michael Petlan <mpetlan@redhat.com>
2022-05-16 11:35:09 +02:00