Runtime Initialization Tracing (#1105)
* Runtime initialization tracing - calbacks and buffer entries notifying when a runtime has been initialized * Minor cleanup to registration.cpp * JSON tool implementation * Increase perfetto_reader timeout * Handle perfetto_reader timeout when attr doesn't exist * clang-tidy fixes to memory_allocation.cpp
This commit is contained in:
1 bovenliggende
3bd7773cf7
commit
249c50fc40
14 files changed
+496
-49
No files matched your search
@@ -318,12 +318,12 @@ get_agent(T val, IterateFunc iterate_func, CallbackFunc callback)
|
||||
if(existing.count(val) == 0)
|
||||
{
|
||||
auto agents = rocprofiler::agent::get_agents();
|
||||
for(auto itr : agents)
|
||||
for(const auto* itr : agents)
|
||||
{
|
||||
auto hsa_agent = rocprofiler::agent::get_hsa_agent(itr);
|
||||
if(hsa_agent)
|
||||
{
|
||||
auto rocprof_agent = rocprofiler::agent::get_rocprofiler_agent(*hsa_agent);
|
||||
const auto* rocprof_agent = rocprofiler::agent::get_rocprofiler_agent(*hsa_agent);
|
||||
if(rocprof_agent)
|
||||
{
|
||||
auto data = typename memory_allocation_info<OpIdx>::pairtype{&existing,
|
||||
|
||||
Reference in new issue
Block a user