From feb961e19a60d54e9049ec315225d4c3639f26eb Mon Sep 17 00:00:00 2001 From: Phung Manh Cuong Date: Mon, 16 Sep 2019 22:31:16 +0700 Subject: [PATCH] Add custom ping --- tools/testing/selftests/bpf/xdping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/xdping.c b/tools/testing/selftests/bpf/xdping.c index d60a343b13716b..e265f1ec472e0d 100644 --- a/tools/testing/selftests/bpf/xdping.c +++ b/tools/testing/selftests/bpf/xdping.c @@ -53,7 +53,7 @@ static int get_stats(int fd, __u16 count, __u32 raddr) if (pinginfo.times[i] == 0) break; - printf("64 bytes from %s: icmp_seq=%d ttl=64 time=%#.5f ms\n", + printf("PMC-custom: 64 bytes from %s: icmp_seq=%d ttl=64 time=%#.5f ms\n", inet_ntop(AF_INET, &inaddr, inaddrbuf, sizeof(inaddrbuf)), count + i + 1,