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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user