Removing cache of decoded lines and returning shared_ptr (#953)

[ROCm/rocprofiler-sdk commit: a045947a89]
This commit is contained in:
Giovanni Lenzi Baraldi
2024-06-25 16:00:59 -03:00
committed by GitHub
parent 3327f10d81
commit 5a5e1f22a6
5 changed files with 28 additions and 42 deletions
@@ -152,10 +152,11 @@ tool_codeobj_tracing_callback(rocprofiler_callback_tracing_record_t record,
<< std::dec << ". Printing first 64 bytes:" << std::endl;
std::unordered_set<std::string> references{};
int num_waitcnts = 0;
int num_scalar = 0;
int num_vector = 0;
int num_other = 0;
int num_waitcnts = 0;
int num_scalar = 0;
int num_vector = 0;
int num_other = 0;
size_t vaddr = begin_end.first;
while(vaddr < begin_end.second)