On Fri, Jun 7, 2019 at 10:11 AM Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx> wrote: > > 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 <quentin.monnet@xxxxxxxxxxxxx> > Signed-off-by: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx> > Reviewed-by: Quentin Monnet <quentin.monnet@xxxxxxxxxxxxx> Applied. Thanks