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

--- Comment #1 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> 
---
% gprofng display text -name short:soname -func test.1.er/
Functions sorted by metric: Exclusive Total CPU Time

Excl. Total   Incl. Total    Name
CPU           CPU
 sec.      %   sec.      %
0.060 100.00  0.060 100.00   <Total> [<Total>]
0.      0.    0.060 100.00   __libc_start_main [<libc-2.28.so>]
0.      0.    0.060 100.00   main [<a.out>]


If you want to change the metric list:
% gprofng display text -name short:soname -metrics i.%totalcpu:name -func
test.1.er/
Current metrics: i.%totalcpu:name
Current Sort Metric: Inclusive Total CPU Time ( i.%totalcpu )
Functions sorted by metric: Inclusive Total CPU Time

Incl. Total    Name
CPU
 sec.      %
0.060 100.00   <Total> [<Total>]
0.060 100.00   __libc_start_main [<libc-2.28.so>]
0.060 100.00   main [<a.out>]


More details in
% man gp-display-text
...
       "name {short | long | mangled}[:{soname | nosoname}]"
           Specify whether to use the short, long, or mangled form of function
names.  Optionally, the load object that the
           function is part of can be included in the output by adding the
soname keyword.  It can also be ommitted (nosoname),
           which is the default.

           Whether there is an actual difference between these types of names
depends on the language.

           Note that there should be no (white)space to the left and right of
the colon (:).
...

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

Reply via email to