Bug 379360 - Show function names as tooltips in flame graph
Summary: Show function names as tooltips in flame graph
Status: RESOLVED FIXED
Alias: None
Product: Heaptrack
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Milian Wolff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-29 20:59 UTC by Rolf Eike Beer
Modified: 2017-05-02 21:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer 2017-04-29 20:59:03 UTC
The function names are usually much longer than the small rectangles in the flame graph. The function names should not only be shown inside the rectangles when the space is big enough, but also unconditionally as tooltips.
Comment 1 Milian Wolff 2017-05-02 21:21:56 UTC
Git commit f31b2605fbf863ab6bd4d1863125c8959807e1ef by Milian Wolff.
Committed on 02/05/2017 at 20:57.
Pushed by mwolff into branch 'master'.

Also show tooltips with function identifiers

Do not try to use fancy HTML formatting here though, as its making
text elision harder than necessary. It would also break tooltips
for very long function names which often happens in STL-using code.

M  +11   -4    src/analyze/gui/flamegraph.cpp

https://commits.kde.org/heaptrack/f31b2605fbf863ab6bd4d1863125c8959807e1ef