Fix agent profiling for SQ counters (#919)

* Fix agent profiling for SQ counters


---------

Co-authored-by: Benjamin Welton <ben@amd.com>
This commit is contained in:
Benjamin Welton
2024-06-12 20:39:18 -07:00
committed by GitHub
parent 99340964a6
commit c32d8b6696
5 changed files with 76 additions and 8 deletions
@@ -267,7 +267,8 @@ QueueController::init(CoreApiTable& core_table, AmdExtTable& ext_table)
(itr->buffered_tracer &&
itr->buffered_tracer->domains(ROCPROFILER_BUFFER_TRACING_KERNEL_DISPATCH));
if(itr->counter_collection || itr->pc_sampler || has_kernel_tracing)
if(itr->counter_collection || itr->pc_sampler || has_kernel_tracing ||
itr->agent_counter_collection)
{
enable_intercepter = true;
break;