https://sourceware.org/bugzilla/show_bug.cgi?id=30896
Ruud van der Pas changed:
What|Removed |Added
Priority|P2 |P3
CC|
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:
$ g
https://sourceware.org/bugzilla/show_bug.cgi?id=30896
Vladimir Mezentsev changed:
What|Removed |Added
Last reconfirmed||2023-09-27
Ever confirmed|0
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
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 1