[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQJUuQqBXJw_kC5DcbYymM_3WoOYDLtWzhw+GNmHt5=RMQ@mail.gmail.com>
Date: Mon, 10 Jun 2019 23:38:14 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: Daniel Borkmann <daniel@...earbox.net>, oss-drivers@...ronome.com,
Network Development <netdev@...r.kernel.org>,
bpf <bpf@...r.kernel.org>,
Quentin Monnet <quentin.monnet@...ronome.com>
Subject: Re: [PATCH bpf-next] samples: bpf: don't run probes at the local make stage
On Fri, Jun 7, 2019 at 10:11 AM Jakub Kicinski
<jakub.kicinski@...ronome.com> 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@...ronome.com>
> Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
> Reviewed-by: Quentin Monnet <quentin.monnet@...ronome.com>
Applied. Thanks
Powered by blists - more mailing lists