forked from Minki/linux
perf tools: Test build with libbpf/LIBBPF_DYNAMIC=1
Now that libbpf-devel is more generally available (it is in fedora 34, for instance), make sure test building with it is performed. Cc: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
1ce296a4c9
commit
8df12cbc0f
@ -84,6 +84,7 @@ make_no_libaudit := NO_LIBAUDIT=1
|
||||
make_no_libbionic := NO_LIBBIONIC=1
|
||||
make_no_auxtrace := NO_AUXTRACE=1
|
||||
make_no_libbpf := NO_LIBBPF=1
|
||||
make_libbpf_dynamic := LIBBPF_DYNAMIC=1
|
||||
make_no_libbpf_DEBUG := NO_LIBBPF=1 DEBUG=1
|
||||
make_no_libcrypto := NO_LIBCRYPTO=1
|
||||
make_with_babeltrace:= LIBBABELTRACE=1
|
||||
@ -149,6 +150,7 @@ run += make_no_libaudit
|
||||
run += make_no_libbionic
|
||||
run += make_no_auxtrace
|
||||
run += make_no_libbpf
|
||||
run += make_libbpf_dynamic
|
||||
run += make_no_libbpf_DEBUG
|
||||
run += make_no_libcrypto
|
||||
run += make_no_sdt
|
||||
@ -268,6 +270,9 @@ test_make_install_info_O := $(test_ok)
|
||||
test_make_install_pdf := $(test_ok)
|
||||
test_make_install_pdf_O := $(test_ok)
|
||||
|
||||
test_make_libbpf_dynamic := ldd $(PERF_O)/perf | grep -q libbpf
|
||||
test_make_libbpf_dynamic_O := ldd $$TMP_O/perf | grep -q libbpf
|
||||
|
||||
test_make_python_perf_so_O := test -f $$TMP_O/python/perf.so
|
||||
test_make_perf_o_O := test -f $$TMP_O/perf.o
|
||||
test_make_util_map_o_O := test -f $$TMP_O/util/map.o
|
||||
|
Loading…
Reference in New Issue
Block a user