[Bug gprofng/30896] gprofng display text: please provide a way (or document how) to include the object name next to the called functions
https://sourceware.org/bugzilla/show_bug.cgi?id=30896 Ruud van der Pas changed: What|Removed |Added Priority|P2 |P3 CC||ruud.vanderpas at oracle dot com -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/30896] gprofng display text: please provide a way (or document how) to include the object name next to the called functions
https://sourceware.org/bugzilla/show_bug.cgi?id=30896 --- Comment #4 from Ruud van der Pas --- This is indeed confusing. The keyword "name" in a metrics definition is different than the "-name" option. As was pointed out in Bugzilla 30898, this is the correct way to include the object name: $ gprofng display text -name short:soname -metrics e.%totalcpu:name For example: $ gprofng display text -name short:soname -metrics e.%totalcpu:name -functions experiment.2.thr.er Current metrics: e.%totalcpu:name Current Sort Metric: Exclusive Total CPU Time ( e.%totalcpu ) Functions sorted by metric: Exclusive Total CPU Time Excl. TotalName CPU sec. % 1.861 100.00[] 1.771 95.16 mxv_core [] 0.050 2.69 drand48 [] 0.020 1.08 erand48_r [] 0.020 1.08 init_data [] 0. 0. @0x1de20 [] 0. 0. __libc_start_call_main [] 0. 0. __libc_start_main_impl [] 0. 0. main [] 0. 0. start_thread [] $ I will add a clarification and example to the documentation. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/30896] gprofng display text: please provide a way (or document how) to include the object name next to the called functions
https://sourceware.org/bugzilla/show_bug.cgi?id=30896 Vladimir Mezentsev changed: What|Removed |Added Last reconfirmed||2023-09-27 Ever confirmed|0 |1 Assignee|vladimir.mezentsev at oracle dot c |ruud.vanderpas at oracle dot com |om | Status|UNCONFIRMED |ASSIGNED --- Comment #3 from Vladimir Mezentsev --- Probably we need to add something to the doc. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/30896] gprofng display text: please provide a way (or document how) to include the object name next to the called functions
https://sourceware.org/bugzilla/show_bug.cgi?id=30896 --- Comment #2 from John Doe --- Thank you, I've misread the docs, works as expected. You may consider to add this example to the docs as this would make it totally clear. Feel free to either mark this issue as RESOLVED(INVALID) or change it to NEW or RESOLVED concerning the documentation. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/30896] gprofng display text: please provide a way (or document how) to include the object name next to the called functions
https://sourceware.org/bugzilla/show_bug.cgi?id=30896 --- Comment #1 from Vladimir Mezentsev --- % gprofng display text -name short:soname -func test.1.er/ Functions sorted by metric: Exclusive Total CPU Time Excl. Total Incl. TotalName CPU CPU sec. % sec. % 0.060 100.00 0.060 100.00[] 0. 0.0.060 100.00 __libc_start_main [] 0. 0.0.060 100.00 main [] 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. TotalName CPU sec. % 0.060 100.00[] 0.060 100.00 __libc_start_main [] 0.060 100.00 main [] 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.