perf test: "probe libc's inet_pton" fails on s390 due to missing inline
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 3 May 2018 06:58:37 +0000 (08:58 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 May 2018 18:19:30 +0000 (15:19 -0300)
commitf8207b987fdc3768257704579bf29a717b4ea520
treebbc1d85fe8b618dd1fb7c320ea99064c1898d38a
parent49cf4a4b3f5a8b02556dd4f45c5cee598d4fc799
perf test: "probe libc's inet_pton" fails on s390 due to missing inline

perf test "probe libc's inet_pton & backtrace it with ping" fails on
4.17.0rc3 on s/390. It turned out that function __inet_pton is reported
as inline:

  [root@s8360047 perf]# ./perf script -i /tmp/perf.data.111
  ping 12457 [000]  1584.478959: probe_libc:inet_pton: (3ffb5a347e8)
                    1347e8 __inet_pton (inlined)
                     f19d7 gaih_inet.constprop.5 (/usr/lib64/libc-2.24.so)
                     f4c3f __GI_getaddrinfo (inlined)
                      410b main (/usr/bin/ping)

Allow __inet_pton listed as inline.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Link: http://lkml.kernel.org/r/20180503065837.71043-1-tmricht@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/record+probe_libc_inet_pton.sh