aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-06-07 17:11:16 +0000
committerAlexei Starovoitov <[email protected]>2019-06-11 06:37:20 +0000
commit0ed3cc4abc10dc71f67a40e0c4b2c5c85e6aec82 (patch)
treea813b11c1f53e77e3de330c93443fdeb148b0389 /tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c
parentMerge branch 'xskmap-lookup' (diff)
downloadkernel-0ed3cc4abc10dc71f67a40e0c4b2c5c85e6aec82.tar.gz
kernel-0ed3cc4abc10dc71f67a40e0c4b2c5c85e6aec82.zip
samples: bpf: don't run probes at the local make stage
Quentin reports that commit 07c3bbdb1a9b ("samples: bpf: print a warning about headers_install") is producing the false positive when make is invoked locally, from the samples/bpf/ directory. When make is run locally it hits the "all" target, which will recursively invoke make through the full build system. Speed up the "local" run which doesn't actually build anything, and avoid false positives by skipping all the probes if not in kbuild environment (cover both the new warning and the BTF probes). Reported-by: Quentin Monnet <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c')
0 files changed, 0 insertions, 0 deletions