[lkml]   [2019]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/3] perf/bpftool: Allow to link libbpf dynamically
adding support to link bpftool with libbpf dynamically,
and config change for perf.

It's now possible to use:
$ make -C tools/bpf/bpftool/ LIBBPF_DYNAMIC=1

which will detect libbpf devel package with needed version,
and if found, link it with bpftool.

It's possible to use arbitrary installed libbpf:
$ make -C tools/bpf/bpftool/ LIBBPF_DYNAMIC=1 LIBBPF_DIR=/tmp/libbpf/

I based this change on top of Arnaldo's perf/core, because
it contains libbpf feature detection code as dependency.
It's now also synced with latest bpf-next, so Toke's change
applies correctly.

Also available in:


Jiri Olsa (2):
perf tools: Allow to specify libbpf install directory
bpftool: Allow to link libbpf dynamically

Toke Høiland-Jørgensen (1):
libbpf: Export netlink functions used by bpftool

tools/bpf/bpftool/Makefile | 40 +++++++++++++++++++++++++++++++++++++++-
tools/build/feature/test-libbpf.c | 9 +++++++++
tools/lib/bpf/libbpf.h | 22 +++++++++++++---------
tools/lib/bpf/ | 7 +++++++
tools/lib/bpf/nlattr.h | 15 ++++++++++-----
tools/perf/Makefile.config | 27 ++++++++++++++++++++-------
6 files changed, 98 insertions(+), 22 deletions(-)

 \ /
  Last update: 2019-11-27 10:49    [W:0.169 / U:30.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site