lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <764aa7ae-dcbe-6311-19fd-3d31b18f1645@linux.vnet.ibm.com>
Date:   Fri, 18 May 2018 15:59:13 +0530
From:   Sandipan Das <sandipan@...ux.vnet.ibm.com>
To:     Thomas-Mich Richter <tmricht@...ux.ibm.com>, acme@...nel.org,
        jolsa@...hat.com
Cc:     linux-kernel@...r.kernel.org, ravi.bangoria@...ux.ibm.com,
        naveen.n.rao@...ux.vnet.ibm.com,
        Hendrik Brueckner <brueckner@...ux.vnet.ibm.com>
Subject: Re: [PATCH] perf tests: Fix regex for record+probe_libc_inet_pton.sh

Hi Thomas,

On 05/18/2018 03:51 PM, Thomas-Mich Richter wrote:
[...]
> 
> This patch fails on s390. I used 4.17.0rc5 + fedora 27 and I get this output:
> 
> 
> [root@...lp27 perf]# ./perf test 59
> 59: probe libc's inet_pton & backtrace it with ping       : Ok
> [root@...lp27 linux]# cd ~/linux; patch -p1 < ../inet_pton1 
> (Stripping trailing CRs from patch; use --binary to disable.)
> patching file tools/perf/tests/shell/record+probe_libc_inet_pton.sh
> [root@...lp27 linux]# cd -; 
> [root@...lp27 perf]# ./perf test 59
> 59: probe libc's inet_pton & backtrace it with ping       : FAILED!
> [root@...lp27 perf]#
> 
> Debugging revealed this line as cause of failure:
> 
> 
> FAIL: expected backtrace entry 2 "gaih_inet.*\+0x[[:xdigit:]]+[[:space:]]\(/usr/lib64/libc-2.26.so|inlined\)$" got "fdcb1 gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so)"
> 
> Here is the output of the trace file
> 
> [root@...lp27 perf]# perf script 
> ping 87291 [001] 96936.231618: probe_libc:inet_pton: (3ff96342378)
>                   142378 __inet_pton (inlined)
>                    fdcb1 gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so)
>                   100189 __GI_getaddrinfo (inlined)
>                     398d main (/usr/bin/ping)
>                    2303d __libc_start_main (/usr/lib64/libc-2.26.so)
>                     457b [unknown] (/usr/bin/ping)
> 
> [root@...lp27 perf]# 
> 
> Hope this helps
> 

Can you please apply these two patches as well and then re-test?

[1] https://lkml.org/lkml/2018/5/17/112
[2] https://lkml.org/lkml/2018/5/17/113

- Sandipan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ