aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-10-07 13:41:49 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-10-07 13:47:04 -0700
commitdcb5f40054b1c64ed608a7eecdcf67044e189e30 (patch)
treeec024e9439b71c7786de6cfccd5c186fca25d189 /tools/bpf/bpftool/prog.c
parentMerge branch 'autogen-bpf-helpers' (diff)
downloadlinux-dev-dcb5f40054b1c64ed608a7eecdcf67044e189e30.tar.xz
linux-dev-dcb5f40054b1c64ed608a7eecdcf67044e189e30.zip
selftests/bpf: Fix dependency ordering for attach_probe test
Current Makefile dependency chain is not strict enough and allows test_attach_probe.o to be built before test_progs's prog_test/attach_probe.o is built, which leads to assembler complaining about missing included binary. This patch is a minimal fix to fix this issue by enforcing that test_attach_probe.o (BPF object file) is built before prog_tests/attach_probe.c is attempted to be compiled. Fixes: 928ca75e59d7 ("selftests/bpf: switch tests to new bpf_object__open_{file, mem}() APIs") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191007204149.1575990-1-andriin@fb.com
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions