Re: [PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-30 Thread Li Zhijian
On 06/29/2018 11:17 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 28, 2018 at 03:16:00PM +0800, Li Zhijian escreveu: On system which has not installed debuginfo of iputils(ping) will fail like: ~/lkp/linux/tools/perf$ sudo ./perf test ping -v I think that we should try to check if the

Re: [PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-30 Thread Li Zhijian
On 06/29/2018 11:17 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 28, 2018 at 03:16:00PM +0800, Li Zhijian escreveu: On system which has not installed debuginfo of iputils(ping) will fail like: ~/lkp/linux/tools/perf$ sudo ./perf test ping -v I think that we should try to check if the

Re: [PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-29 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 28, 2018 at 03:16:00PM +0800, Li Zhijian escreveu: > On system which has not installed debuginfo of iputils(ping) will fail like: > ~/lkp/linux/tools/perf$ sudo ./perf test ping -v I think that we should try to check if the required debuginfo package is installed and if so, expect the

Re: [PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-29 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 28, 2018 at 03:16:00PM +0800, Li Zhijian escreveu: > On system which has not installed debuginfo of iputils(ping) will fail like: > ~/lkp/linux/tools/perf$ sudo ./perf test ping -v I think that we should try to check if the required debuginfo package is installed and if so, expect the

[PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-28 Thread Li Zhijian
On system which has not installed debuginfo of iputils(ping) will fail like: ~/lkp/linux/tools/perf$ sudo ./perf test ping -v 63: probe libc's inet_pton & backtrace it with ping : --- start --- test child forked, pid 4207 ping 4224 [007] 3034121.295510: probe_libc:inet_pton: (7fedfccb2200)

[PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-28 Thread Li Zhijian
On system which has not installed debuginfo of iputils(ping) will fail like: ~/lkp/linux/tools/perf$ sudo ./perf test ping -v 63: probe libc's inet_pton & backtrace it with ping : --- start --- test child forked, pid 4207 ping 4224 [007] 3034121.295510: probe_libc:inet_pton: (7fedfccb2200)