libbpf-tools: update readahead for libbpf 1.0
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 17 Dec 2021 22:32:30 +0000 (14:32 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 20 Dec 2021 21:21:26 +0000 (13:21 -0800)
commit3c5dae6380dcc2034a8746c648e3bb24ea61f886
tree9b5b0e1d81f3da9cc0717704df5312057f33d30a
parent34a680ba8da7e61befad67ebccb69c5041e9e288
libbpf-tools: update readahead for libbpf 1.0

Switch to libbpf 1.0 mode and adapt libbpf API usage accordingly.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
libbpf-tools/readahead.c