libbpf-tools: gethostlatency allow specify libc path
authorHengqi Chen <chenhengqi@outlook.com>
Sat, 10 Jul 2021 10:25:47 +0000 (18:25 +0800)
committeryonghong-song <ys114321@gmail.com>
Wed, 14 Jul 2021 17:19:45 +0000 (10:19 -0700)
commit8b09996a30ff97dc57034b1985b4e7b91dc81a66
tree02976cea31646955fdbd7392a6f25096dff92cd8
parent97fd8f418ef70e73a57c4af044ce254acf08b5ef
libbpf-tools: gethostlatency allow specify libc path

This commit adds a new option to gethostlatency which
allows user to specify which libc to use for tracing.
This is useful when application is not linked against
default libc.

Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
libbpf-tools/gethostlatency.c