diff --git a/cmake/rocprofiler_config_packaging.cmake b/cmake/rocprofiler_config_packaging.cmake index ee0cddaffe..ee4072e2e1 100644 --- a/cmake/rocprofiler_config_packaging.cmake +++ b/cmake/rocprofiler_config_packaging.cmake @@ -77,7 +77,7 @@ set(COMPONENT_NAME_roctx "rocprofiler-sdk-roctx") set(COMPONENT_DEP_core "rocprofiler-sdk-roctx (>= ${PROJECT_VERSION})") set(COMPONENT_DEP_docs "") -set(COMPONENT_DEP_tests "rocprofiler-sdk (= ${PROJECT_VERSION})") +set(COMPONENT_DEP_tests "rocprofiler-sdk (>= ${PROJECT_VERSION})") set(COMPONENT_DEP_roctx "") set(COMPONENT_DESC_core "rocprofiler-sdk libraries, headers, samples, and tools") diff --git a/source/lib/rocprofiler-sdk/hsa/aql_packet.cpp b/source/lib/rocprofiler-sdk/hsa/aql_packet.cpp index 79d0b21448..701886addb 100644 --- a/source/lib/rocprofiler-sdk/hsa/aql_packet.cpp +++ b/source/lib/rocprofiler-sdk/hsa/aql_packet.cpp @@ -109,6 +109,8 @@ CounterAQLPacket::CounterAQLPacket(aqlprofile_agent_handle_t ag profile.events = events.data(); profile.event_count = static_cast(events.size()); + ROCP_TRACE << "profile events count: " << profile.event_count; + hsa_status_t status = aqlprofile_pmc_create_packets(&this->handle, &this->packets, profile,