Skip to content

perf tools: Fix perf build with dynamic libbpf

Jiri Olsa linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf tools: Add more weak libbpf functionstools/perf/util/bpf-event.c+27 -07 replies
2/2perf tools: Add weak variants for the deprecated libbpf functionstools/perf/util/bpf-event.c+33 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] perf tools: Fix perf build with dynamic libbpf

hi,
sending fixes for building perf with LIBBPF_DYNAMIC=1.

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 with adding weak stub functions for possibly missing libbpf function.

thanks,
jirka

---
Jiri Olsa (2):
perf tools: Add more weak libbpf functions
perf tools: Add weak variants for the deprecated libbpf functions

 tools/perf/util/bpf-event.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)