Re: [PATCH 3/3] bpftool: Allow to link libbpf dynamically
From: Arnaldo Carvalho de Melo <hidden>
Date: 2019-11-27 15:59:41
Also in:
bpf, lkml
Em Wed, Nov 27, 2019 at 03:52:06PM +0000, Quentin Monnet escreveu:
2019-11-27 12:48 UTC-0300 ~ Arnaldo Carvalho de Melo [off-list ref]quoted
Em Wed, Nov 27, 2019 at 02:31:31PM +0000, Quentin Monnet escreveu:quoted
2019-11-27 11:24 UTC-0300 ~ Arnaldo Carvalho de Melo [off-list ref]quoted
Em Wed, Nov 27, 2019 at 03:15:20PM +0100, Jiri Olsa escreveu:quoted
On Wed, Nov 27, 2019 at 01:38:55PM +0000, Quentin Monnet wrote:quoted
2019-11-27 10:48 UTC+0100 ~ Jiri Olsa [off-list ref] On the plus side, all build attempts from tools/testing/selftests/bpf/test_bpftool_build.sh pass successfully on my setup with dynamic linking from your branch.
quoted
quoted
quoted
quoted
cool, had no idea there was such test ;-)
quoted
quoted
quoted
Should be the the equivalent to 'make -C tools/perf build-test' :-)
quoted
quoted
quoted
Perhaps we should make tools/testing/selftests/perf/ link to that?
quoted
quoted
It is already run as part of the bpf selftests, so probably no need.
quoted
You mean 'make -C tools/perf build-test' is run from the bpf selftests?
Ah, no, sorry for the confusion. I meant that test_bpftool_build.sh is run from the bpf selftests.
I am not familiar with perf build-test, but maybe that's something worth adding to perf selftests indeed.
Yeah, I think is worth considering plugging perf's build-test to selftests, if only to expose it to the people that are used with selftests and may start testing perf builds more regularly. - Arnaldo