https://github.com/torvalds/linux
Revision 2a4898fc264a0a9d92eb901d54068d4801720526 authored by Jiri Olsa on 09 November 2021, 14:07:06 UTC, committed by Arnaldo Carvalho de Melo on 13 November 2021, 21:11:51 UTC
We hit the window where perf uses libbpf functions, that did not make it
to the official libbpf release yet and it's breaking perf build with
dynamicly linked libbpf.

Fixing this by providing the new interface as weak functions which calls
the original libbpf functions. Fortunatelly the changes were just
renames.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20211109140707.1689940-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 4924b1f
History
Tip revision: 2a4898fc264a0a9d92eb901d54068d4801720526 authored by Jiri Olsa on 09 November 2021, 14:07:06 UTC
perf tools: Add more weak libbpf functions
Tip revision: 2a4898f

back to top