Re: [PATCH 2/2] samples/bpf: fix build by setting HAVE_ATTR_TEST to zero

From: Arnaldo Carvalho de Melo
Date: Thu Oct 03 2019 - 09:53:35 EST


Em Thu, Oct 03, 2019 at 02:19:42AM +0200, KP Singh escreveu:
> Tested-by: KP Singh <kpsingh@xxxxxxxxxx>
>
> I can confirm that samples/bpf are building for me now (x86_64,
> clang-8) after applying this series and:
>
> * https://lore.kernel.org/bpf/CAPhsuW5c9v0OnU4g+eYkPjBCuNMjC_69pFhzr=nTfDMAy4bK6w@xxxxxxxxxxxxxx
> * https://lore.kernel.org/bpf/20191002191652.11432-1-kpsingh@xxxxxxxxxxxx/
>
> on the current bpf-next/master.
>
>
> - KP
>
> On Wed, Oct 2, 2019 at 11:00 PM Song Liu <liu.song.a23@xxxxxxxxx> wrote:
> >
> > On Tue, Oct 1, 2019 at 4:36 AM Björn Töpel <bjorn.topel@xxxxxxxxx> wrote:
> > >
> > > From: Björn Töpel <bjorn.topel@xxxxxxxxx>
> > >
> > > To remove that test_attr__{enabled/open} are used by perf-sys.h, we
> > > set HAVE_ATTR_TEST to zero.
> > >
> > > Signed-off-by: Björn Töpel <bjorn.topel@xxxxxxxxx>
> >
> > Acked-by: Song Liu <songliubraving@xxxxxx>

Thanks, applied.

- Arnaldo