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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1962880.1xTuyOsKT9@agathebauer>
Date:   Wed, 25 Jul 2018 20:23:18 +0200
From:   Milian Wolff <milian.wolff@...b.com>
To:     Jiri Olsa <jolsa@...hat.com>
Cc:     Sandipan Das <sandipan@...ux.ibm.com>, acme@...nel.org,
        linux-kernel@...r.kernel.org, namhyung@...nel.org,
        ravi.bangoria@...ux.ibm.com, naveen.n.rao@...ux.vnet.ibm.com
Subject: Re: [PATCH] perf script: Show correct offsets for DWARF-based
 unwinding

On Montag, 9. Juli 2018 16:25:07 CEST Jiri Olsa wrote:
> On Tue, Jul 03, 2018 at 05:35:55PM +0530, Sandipan Das wrote:
> 
> SNIP
> 
> > After:
> >   # perf report --stdio --no-children -s sym,srcline -g address
> >   
> >   # Samples: 1  of event 'probe_libc:inet_pton'
> >   # Event count (approx.): 1
> >   #
> >   # Overhead  Symbol                Source:Line
> >   # ........  ....................  ...........
> >   #
> >   
> >      100.00%  [.] __GI___inet_pton  inet_pton.c
> >      
> >               ---gaih_inet.constprop.7 getaddrinfo.c:537
> >               
> >                  getaddrinfo getaddrinfo.c:2304
> >                  main ping.c:519
> >                  generic_start_main.isra.0 libc-start.c:308
> >                  __libc_start_main libc-start.c:102
> >   
> >   ...
> >   
> >   # perf script -F comm,ip,sym,symoff,srcline,dso
> >   
> >   ping
> >   
> >               7fffb38aaf28 __GI___inet_pton+0x8 (/usr/lib64/libc-2.26.so)
> >     
> >     inet_pton.c:68
> >     
> >               7fffb385fa53 gaih_inet.constprop.7+0xf43
> >               (/usr/lib64/libc-2.26.so)
> >     
> >     getaddrinfo.c:537
> >     
> >               7fffb38605b3 getaddrinfo+0x163 (/usr/lib64/libc-2.26.so)
> >     
> >     getaddrinfo.c:2304
> >     
> >                  130782d6f main+0x3df (/usr/bin/ping)
> >     
> >     ping.c:519
> >     
> >               7fffb377369f generic_start_main.isra.0+0x13f
> >               (/usr/lib64/libc-2.26.so)
> >     
> >     libc-start.c:308
> >     
> >               7fffb3773897 __libc_start_main+0xb7
> >               (/usr/lib64/libc-2.26.so)
> >     
> >     libc-start.c:102
> > 
> > Fixes: 67540759151a ("perf unwind: Use addr_location::addr instead of ip
> > for entries") Signed-off-by: Sandipan Das <sandipan@...ux.ibm.com>
> 
> looks good to me, Milian?
> 
> Acked-by: Jiri Olsa <jolsa@...nel.org>

Sorry for the delay, I was on vacation.

The above looks somewhat strange to me - why is there no `(inlined)` suffix 
visible anymore?

Also, I can't test this patch locally, since - even without this patch - 
inline frame resolution with perf seems to be completely broken for me. It 
doesn't seem to be a perf regression - going back in time doesn't resole this 
- but rather of its dependencies or even of the DWARF emitted by the compilers 
I have available to test...

Cheers

-- 
Milian Wolff | milian.wolff@...b.com | Senior Software Engineer
KDAB (Deutschland) GmbH, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts
Download attachment "smime.p7s" of type "application/pkcs7-signature" (3826 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ