perf tools: Fix perf build with dynamic libbpf
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf tools: Add more weak libbpf functionstools/ | +27 | 7 replies | |
| 2/2 | perf tools: Add weak variants for the deprecated libbpf functionstools/ | +33 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(+)