Re: [PATCH] samples/bpf: make xdp_monitor use raw_tracepoints

2019-10-16 Thread Eric Sage
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 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:

Re: [PATCH] samples/bpf: make xdp_monitor use raw_tracepoints

2019-10-15 Thread Eric Sage
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?

[PATCH] samples/bpf: make xdp_monitor use raw_tracepoints

2019-10-06 Thread Eric Sage
. There was also a small issues with 'samples/bpf/bpf_load' - it was loading the raw_tracepoints with the tracing subsystem name still attached, which the bpf syscall rejects with a No such file or directory error. This is now fixed. Signed-off-by: Eric Sage --- samples/bpf/bpf_load.c

Re: samples/bpf not working?

2019-10-05 Thread Eric Sage
ild' section of 'scripts/Makefile.build'. This commit adds a new 'CONFIG_SAMPLE_BPF' under 'CONFIG_SAMPLES' to match what the other sample subdirs have done. Signed-off-by: Eric Sage --- samples/Kconfig | 6 ++ samples/Makefile | 1 + 2 files changed, 7 i