libbpf-tools: update cachestat for libbpf 1.0
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 17 Dec 2021 22:20:08 +0000 (14:20 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 20 Dec 2021 21:21:26 +0000 (13:21 -0800)
commit4970d23f9ff308c5860612ad6395d7692b05104e
treed6b0b6160df3bb317d5d46c515f92fe6fd312e89
parent7bea6c4ad9a460fc34eb618e488e44ca014e8ac7
libbpf-tools: update cachestat 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/cachestat.c