Bug 379660

Summary: Collapse template arguments in flamegraph
Product: [Applications] Heaptrack Reporter: Thomas McGuire <mcguire>
Component: generalAssignee: Milian Wolff <mail>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thomas McGuire 2017-05-09 13:59:11 UTC
When running heaptrack on something that uses a lot of templates, like std::string, the flamegraph becomes unreadable because all the template arguments are obscuring the function name. Some suggestions:

- Elide the function name in the middle instead of cutting it off a the end
- Collapse long tempate arguments: Instead of "std::map<std::basic_string<bla bla bla>, blub blub blub>::operator[](std::string &const)", say just "std::map<...>::operator[](std::string &const)"