libbpf-tools: update gethostlatency for libbpf 1.0
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 17 Dec 2021 22:32:29 +0000 (14:32 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 20 Dec 2021 21:21:26 +0000 (13:21 -0800)
commit54a239abd21df9d6fc5d8db7ae7a26c5d8db2440
treedefa53df288cdd60cd210b49f827013ca581ffc5
parentd7b3ed3a8b2169087534738670d108489711f2d1
libbpf-tools: update gethostlatency 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/gethostlatency.c