SWDEV-432445: ATT - Adding fixes for symbolic stitch and source reference numbering
Change-Id: I31d63bd2500155697129c29d7e0bc857e48cad8e
[ROCm/rocprofiler commit: 490ea4c37d]
This commit is contained in:
@@ -91,7 +91,7 @@ void codeobj_capture_instance::Unload(uint64_t addr) {
|
||||
|
||||
if (codeobj_record::codeobjs.find(addr) == codeobj_record::codeobjs.end()) return;
|
||||
|
||||
eventcount.fetch_add(1, std::memory_order_relaxed)+1;
|
||||
eventcount.fetch_add(1, std::memory_order_relaxed);
|
||||
auto time = rocprofiler::ROCProfiler_Singleton::GetInstance().timestamp_ns().value;
|
||||
codeobj_record::codeobjs.at(addr)->end_time = time;
|
||||
codeobj_record::codeobjs.erase(addr);
|
||||
|
||||
@@ -43,8 +43,8 @@ class codeobj_capture_instance {
|
||||
uint64_t start_time,
|
||||
uint32_t id
|
||||
)
|
||||
: addr(_addr), load_size(_load_size), start_time(start_time), URI(_uri),
|
||||
mem_addr(mem_addr), mem_size(mem_size), load_id(id) {};
|
||||
: addr(_addr), load_size(_load_size), start_time(start_time),
|
||||
load_id(id), URI(_uri), mem_addr(mem_addr), mem_size(mem_size) {};
|
||||
|
||||
void setmode(rocprofiler_codeobj_capture_mode_t mode);
|
||||
|
||||
|
||||
@@ -221,7 +221,6 @@ bool AttTracer::ATTContiguousWriteInterceptor(
|
||||
std::lock_guard<std::mutex> lk(att_enable_disable_mutex);
|
||||
// If att_start already exists, don't start again
|
||||
bool bIsActive = this->HasActiveTracerATT(agent_handle);
|
||||
auto agent_pending_packets = pending_stop_packets.find(agent_handle);
|
||||
if (bIsActive)
|
||||
insertStart = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user