[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191016155701.GA18708@wizard.attlocal.net>
Date: Wed, 16 Oct 2019 08:57:01 -0700
From: Eric Sage <eric@...e.org>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: Andrii Nakryiko <andrii.nakryiko@...il.com>,
Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>,
xdp-newbies@...r.kernel.org, Alexei Starovoitov <ast@...nel.org>,
Jiri Olsa <jolsa@...hat.com>
Subject: Re: [PATCH] samples/bpf: make xdp_monitor use raw_tracepoints
On Wed, Oct 16, 2019 at 03:34:26PM +0200, Jesper Dangaard Brouer wrote:
> On Tue, 15 Oct 2019 21:21:04 -0700
> Eric Sage <eric@...e.org> wrote:
>
> > I'm no longer able to build the samples with 'make M=samples/bpf'.
> >
> > I get errors in task_fd_query_user.c like:
> >
> > samples/bpf/task_fd_query_user.c:153:29: error: ‘PERF_EVENT_IOC_ENABLE’
> > undeclared.
> >
> > Am I missing a dependancy?
>
> Have you remembered to run:
>
> make headers_install
>
> (As described in samples/bpf/README)
Yes, I've done that. I've tried:
make mrproper
cp /boot/config-5.2.18-200.fc30.x86_64 .config
make olddefconfig
make headers_install
make M=samples/bpf
which ends with the errors I described.
> --
> Best regards,
> Jesper Dangaard Brouer
> MSc.CS, Principal Kernel Engineer at Red Hat
> LinkedIn: http://www.linkedin.com/in/brouer
Powered by blists - more mailing lists