bug-binutils
[Top][All Lists]
Advanced

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

[Bug gprofng/31121] gprofng does not recognise source in a shared object


From: robertjenssen at ozemail dot com.au
Subject: [Bug gprofng/31121] gprofng does not recognise source in a shared object
Date: Sat, 09 Dec 2023 10:14:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31121

--- Comment #8 from Robert Jenssen <robertjenssen at ozemail dot com.au> ---
I can disassemble octave_value_list::octave_value_list but not bin2SD.
The test.1.er/archive directory contains a copy of liboctinterp.so.11.0.2
but not bin2SD.oct. Does gprofng assume that shared objects have a .so suffix?

$ file bin2SD.oct
bin2SD.oct: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically
linked, BuildID[sha1]=31ac26cbc516d44c31db6979958596cf16dae070, with
debug_info, not stripped
$ gprofng collect app octave -p src --eval "y=bin2SD(48.3,16,3)"
Creating experiment directory test.2.er (Process ID: 1684065) ...
y = 48
$  gprofng display text -functions test.1.er
Functions sorted by metric: Exclusive Total CPU Time

Excl. Total   Incl. Total    Name
CPU           CPU
 sec.      %   sec.      %
0.010 100.00  0.010 100.00   <Total>
0.010 100.00  0.010 100.00   __strlen_avx2
0.      0.    0.010 100.00   FcPatternAdd

$ gp-display-src -func src/bin2SD.oct

Functions sorted in lexicographic order

Load Object: <bin2SD.oct>

    Address                     Size        Name

  0x0000000000003020               496      @plt
  0x00000000000032c9               265      Gbin2SD
  0x00000000000033d2              1343      Fbin2SD(octave_value_list const&,
int)
  0x0000000000003912                57      dim_vector::dim_vector()
  0x0000000000003912                57      dim_vector::dim_vector()
  0x000000000000394c                72      dim_vector::operator=(dim_vector&&)
  0x0000000000003994                20      octave_value::octave_value()
  0x0000000000003994                20      octave_value::octave_value()
  0x00000000000039a8                76      octave_value::~octave_value()
  0x00000000000039a8                76      octave_value::~octave_value()
  0x0000000000003a4e                97     
octave_value::operator=(octave_value&&)
  0x00000000000039f4                90     
octave_value::operator=(octave_value const&)
  0x0000000000004364               110      octave_value_list::elem(long)
  0x0000000000003b7c                67     
octave_value_list::octave_value_list(octave_value_list&&)
  0x0000000000004000               104     
octave_value_list::octave_value_list(long)
  0x0000000000003d7a                69     
octave_value_list::octave_value_list()
  0x0000000000003b7c                67     
octave_value_list::octave_value_list(octave_value_list&&)
.
.
.
  0x0000000000003c73                38      void
std::_Destroy<octave_value*>(octave_value*, octave_value*)
  0x0000000000003280                64      __do_global_dtors_aux
  0x0000000000003000                32      _init
  0x0000000000003210                48      deregister_tm_clones
  0x00000000000032c0                 9      frame_dummy
  0x0000000000003240                64      register_tm_clones
$ gprofng display text -disasm Gbin2SD test.1.er
Error: No function or file with given name `Gbin2SD' found.
$  gprofng display text -disasm Fbin2SD test.1.er
Error: No function or file with given name `Fbin2SD' found.
$  gprofng display text -disasm bin2SD test.1.er
Error: No function or file with given name `bin2SD' found.
$  gprofng display text -disasm octave_value_list::octave_value_list test.1.er
Default selection "1" made
Source file: (unknown)
Object file: liboctinterp.so.11.0.2 (found as
test.1.er/archives/liboctinterp.so.11.0.2_cqz4VOkyeyf)
Load Object: liboctinterp.so.11.0.2 (found as
test.1.er/archives/liboctinterp.so.11.0.2_cqz4VOkyeyf)

   Excl. Total   Incl. Total
   CPU           CPU
    sec.      %   sec.      %
                                        <Function:
octave_value_list::octave_value_list(octave_value const&) [clone .cold]>
   0.      0.    0.      0.             [?]   2d8c4a:  mov    0x28(%rbx),%rdi
   0.      0.    0.      0.             [?]   2d8c4e:  test   %rdi,%rdi
   0.      0.    0.      0.             [?]   2d8c51:  je     0x7
   0.      0.    0.      0.             [?]   2d8c53:  call  
0xfffffffffffc61fd
   0.      0.    0.      0.             [?]   2d8c58:  mov    %rbx,%rdi
   0.      0.    0.      0.             [?]   2d8c5b:  call   0x4e3345
   0.      0.    0.      0.             [?]   2d8c60:  mov    %rbp,%rdi
   0.      0.    0.      0.             [?]   2d8c63:  call  
0xfffffffffffca9ed
$ 
$ find . -name liboctinterp.so.11.0.2*
./test.1.er/archives/liboctinterp.so.11.0.2_cqz4VOkyeyf
$  find test.1.er -name *binSD*
$

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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