samples/bpf: convert xdp_sample_pkts_user to perf_buffer API
authorAndrii Nakryiko <andriin@fb.com>
Tue, 23 Jul 2019 21:34:43 +0000 (14:34 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 23 Jul 2019 23:05:42 +0000 (16:05 -0700)
commitf58a4d51d8da7b248d8796e9981feb3d5a43d3d2
treeb82e59be0afac3cd1ffd976032540fcac243bc04
parent898ca681cd78e57cec1f5d18df0829d35c464fe8
samples/bpf: convert xdp_sample_pkts_user to perf_buffer API

Convert xdp_sample_pkts_user to libbpf's perf_buffer API.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/xdp_sample_pkts_user.c