lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] perf+wine [Was: Remarkable performance problem]


From: Greg Chicares
Subject: [lmi] perf+wine [Was: Remarkable performance problem]
Date: Fri, 2 Mar 2018 11:30:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 2018-02-28 13:15, Vadim Zeitlin wrote:
[...]
>  Also, running perf under Linux is always worthwhile -- and very simple to
> do, so I'd also do this and see if you notice anything unusual in its
> output. You could run just the Wine process itself under it or even run it
> system-wide, if your system is reasonably idle, Wine should dominate all
> the statistics anyhow.
$perf record wine ./lmi_wx_shared --ash_nazg --data_path=/opt/lmi/data

$perf report
Samples: 350K of event 'cycles', Event count (approx.): 260014842317
Overhead  Command        Shared Object      Symbol
  66.60%  lmi_wx_shared  [unknown]          [.] 0x000000007bc50843
   1.04%  lmi_wx_shared  [unknown]          [.] 0x000000007bc50830
   0.69%  lmi_wx_shared  [unknown]          [.] 0x000000007bc3d88c
   0.67%  lmi_wx_shared  perf-19333.map     [.] 0x000000006d0d38dc
   0.65%  lmi_wx_shared  [unknown]          [.] 0x000000007bc3d744

$perf report -s sym,srcline
  66.60%  [.] 0x000000007bc50843                      ??:0
   1.04%  [.] 0x000000007bc50830                      ??:0
   0.69%  [.] 0x000000007bc3d88c                      ??:0
   0.67%  [.] 0x000000006d0d38dc                      perf-19333.map[6d0d38dc]
   0.65%  [.] 0x000000007bc3d744                      ??:0

/opt/lmi/bin[0]$addr2line -e ./lmi_wx_shared.exe 0x000000007bc50843
??:0
/opt/lmi/bin[0]$i686-w64-mingw32-addr2line -e ./lmi_wx_shared.exe 
0x000000007bc50843 
??:0

This command:
  $i686-w64-mingw32-nm ./lmi_wx_shared.exe 2>&1 |less
shows symbols in the general range of 00400000, e.g.:
  004014c0 T _WinMainCRTStartup
  0040635c I __nm___ZN16wxAppConsoleBase12ms_appInitFnE

Is there a simple magical incantation that translates
    66.60%  lmi_wx_shared  [unknown]          [.] 0x000000007bc50843
to a symbol name?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]