bug-binutils
[Top][All Lists]
Advanced

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

[Bug gprofng/30896] gprofng display text: please provide a way (or docum


From: vladimir.mezentsev at oracle dot com
Subject: [Bug gprofng/30896] gprofng display text: please provide a way (or document how) to include the object name next to the called functions
Date: Mon, 25 Sep 2023 21:15:46 +0000

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

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