Enable PC sampling to be run alongside ATT. Add ATT to changelog. (#445)
* Enable PC sampling to be run alongside ATT. Add ATT to changelog.
* Fix tests
* Review comments
---------
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
[ROCm/rocprofiler-sdk commit: 2fa95e6d6d]
This commit is contained in:
committed by
GitHub
parent
7482372c0b
commit
9a3bbb0037
@@ -127,7 +127,9 @@ WaitcntList::gfx10_construct(const wave_t& wave, isa_map_t& isa_map)
|
||||
for(size_t i = 0; i < wave.instructions_size; i++)
|
||||
{
|
||||
auto& event = wave.instructions_array[i];
|
||||
auto it = isa_map.find(event.pc);
|
||||
if(event.pc.marker_id == 0 && event.pc.addr == 0) continue;
|
||||
|
||||
auto it = isa_map.find(event.pc);
|
||||
if(it == isa_map.end() || !it->second->code_line || it->second->code_line->inst.empty())
|
||||
{
|
||||
static thread_local std::once_flag failed_flag{};
|
||||
|
||||
Reference in New Issue
Block a user