Re: unresolved function names in perf output

"George Chochia" <[email protected]>
Newsgroups gmane.linux.oprofile,gmane.linux.kernel.perf.user
Message-ID <[email protected]>
Hi Will,

eu-readelf -s libmlx5-rdmav2.so does not show symbols encountered at run
time but gdb finds them:
Breakpoint 1, 0x0000100009510ae8 in mlx5_poll_cq_1 ()
from /lib64/libmlx5-rdmav2.so .

The address does not match one in the perf output.

I noticed that there is a debug version of the same library installed in a
different directory on Ubuntu but not on Red Hat.
I found a version of libmlx5-rdmav2.so with debug info. No problems
resolving symbol names with it.

Regards



From:	William Cohen <[email protected]>
To:	George Chochia/Poughkeepsie/IBM@IBMUS, oprofile-list
            <[email protected]>,
            "[email protected]"
            <[email protected]>
Date:	10/14/2015 11:50 AM
Subject:	Re: unresolved function names in perf output



On 10/14/2015 09:08 AM, George Chochia wrote:
> Hello,
>
> I am profiling an MPI app using perf tool on Power 8, LE node installed
with RHEL 7.2 3.10.0-316.el7.ppc64le.
> Functions from libmlx5-rdmav2.so (Mellanox library from MOFED
3.1-1.0.0.2) show up as function pointers in perf report.
>
> On the same node installed with Ubuntu 14.04.03 and same MOFED level
function names are resolved.

Hi,

It sounds like libmlx5-rdmav2.so might missing debuginfo on the RHEL7.2
version and that is why the addresses are not be mapped back to function
names.  You might try the following to see if there are symbols for that
library:

eu-readelf -s <path_to_library>

Where did you get libmlx5-rdmav2.so?  You might also check to see if there
is an associated debuginfo rpm for that package that needs to be installed.
RHEL packages typically have debug information stripped from the rpm and
placed in a separate debuginfo rpm.

-Will

> RHEL 7.2
> 19.79%spark64.Linux.L libpami.so [.] _stripe_hal_writepkti
> 11.89%spark64.Linux.L libhal64_ibm.so [.] hal_ibl_rc_scq_flush
> 9.07%spark64.Linux.L libhal64_ibm.so [.] hal_ibl_rc_read_callback
> 8.40%spark64.Linux.L libpami.so [.] _stripe_hal_read_callback
> 7.65%spark64.Linux.L libpami.so [.] _stripe_hal_flush
> 5.83%spark64.Linux.L libhal64_ibm.so [.] hal_ibl_rc_scq_writepkti
> 4.48%spark64.Linux.L libpami.so [.] LapiImpl::Interconnect::SendPacketI
> 3.19%spark64.Linux.L libpami.so [.] Sam::Send
> 2.75%spark64.Linux.L libpami.so [.] _lapi_dispatcher<true>
> 2.33%spark64.Linux.L libmlx5-rdmav2.so [.] 0x0000000000010b20
> 2.02%spark64.Linux.L libpami.so [.] SamSendQueue::Process
> 1.82%spark64.Linux.L libmlx5-rdmav2.so [.] 0x0000000000010b98
>
>
> Ubuntu 14.04.3
> 18.09%spark64.Linux.L libpami.so [.] _Z21_stripe_hal_writepktiPvS_S_jS_
> 9.54%spark64.Linux.L libhal64_ibm.so [.] hal_ibl_rc_scq_flush
> 8.67%spark64.Linux.L libmlx5-rdmav2.so [.] mlx5_poll_cq_1
> 8.22%spark64.Linux.L libhal64_ibm.so [.] hal_ibl_rc_read_callback
> 7.70%spark64.Linux.L libpami.so [.]
_Z25_stripe_hal_read_callbackPvPFiS_S_jES_P11hal_param_t
> 7.24%spark64.Linux.L libpami.so [.] _Z17_stripe_hal_flushPvS_
> 6.76%spark64.Linux.L libhal64_ibm.so [.] hal_ibl_rc_scq_writepkti
> 4.52%spark64.Linux.L libmlx5-rdmav2.so [.] get_sw_cqe
>
>
> Regards
>
>
>
------------------------------------------------------------------------------

>
>
>
> _______________________________________________
> oprofile-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oprofile-list
>

------------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
graycol.gif (image/gif, 105 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.