aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2020-01-20 14:06:43 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-01-20 16:37:45 -0800
commitbfe42797bc7e962f01028436e106769ca9338b65 (patch)
treee6764d26561351b699ee0fa2ce043f4ae9176fd3 /usr
parenttools/bpf/runqslower: Fix override option for VMLINUX_BTF (diff)
downloadlinux-dev-bfe42797bc7e962f01028436e106769ca9338b65.tar.xz
linux-dev-bfe42797bc7e962f01028436e106769ca9338b65.zip
selftests: Pass VMLINUX_BTF to runqslower Makefile
Add a VMLINUX_BTF variable with the locally-built path when calling the runqslower Makefile from selftests. This makes sure a simple 'make' invocation in the selftests dir works even when there is no BTF information for the running kernel. Do a wildcard expansion and include the same paths for BTF for the running kernel as in the runqslower Makefile, to make it possible to build selftests without having a vmlinux in the local tree. Also fix the make invocation to use $(OUTPUT)/tools as the destination directory instead of $(CURDIR)/tools. Fixes: 3a0d3092a4ed ("selftests/bpf: Build runqslower from selftests") Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/157952560344.1683545.2723631988771664417.stgit@toke.dk
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions