[rocprofiler-systems] Add cached demangler and replace old demangle (#2135)

* Add cached demangler and replace old

* Add unit tests

* Applied suggestions from code review

* Applied suggestions from code review
This commit is contained in:
Milan Radosavljevic authored and GitHub committed 2025-12-16 08:32:18 +01:00
1 parent 21afa807a9
commit 666e76deac
27 files changed
+450 -84

No files matched your search

@@ -27,6 +27,7 @@
#include "binary/scope_filter.hpp"
#include "binary/symbol.hpp"
#include "common/defines.h"
#include "core/demangler.hpp"
#include "core/utility.hpp"
#include "fwd.hpp"
#include "log.hpp"
@@ -491,7 +492,7 @@ get_internal_libs_data_impl()
for(const auto& fitr : _funcs)
{
auto _fname = fitr->getName();
auto _dname = tim::demangle(_fname);
auto _dname = rocprofsys::utility::demangle(_fname);
_data[itr.first][_mpath].emplace(_fname);
_data[itr.first][_mpath].emplace(_dname);