on-internet
← Community

Valgrind ignore templates in output

Stack Overflow ·

I'm using valgrind [callgrind] to profile a C++ executable, and KCachegrind to display the results. However, the function names are all but unreadable due to endless template names before the actual method name. Since each class is instantiated with one fixed template value, this is purely wasteful. Is there a way to get an output of the kind MyClass<...>::methodName(), with literal dots in place of the template?

Comments

Sign in or sign up to comment and upvote.

No comments yet.