LD_PRELOAD librocprofiler-sdk-roctx.so when marker-trace enabled (#1057)

* LD_PRELOAD librocprofiler-sdk-roctx.so when marker-trace enabled

- this enables apps to link against old ROCTx (libroctx64.so) but get marker tracing in rocprofv3

* Update CHANGELOG

* Validation test for app linked to old (roctracer) ROCTx library

* Tweak scope of tool_counter_info

- causing "signal-unsafe call inside of a signal" error for ThreadSanitizer on mi200

* Fix handling of missing transpose-roctracer-roctx

* Disable rocprofv3 aborted-app test (ThreadSanitizer)

- ThreadSanitizer + mi200/mi300 + aborted-app results in a signal-unsafe call inside a signal that cannot be specifically suppressed as usual via rocprofv3_error_signal_handler for some unknown reason

* Add UndefinedBehaviorSanitizer job
Esse commit está contido em:
Jonathan R. Madsen
2024-09-11 15:27:35 -05:00
commit de GitHub
commit 72cbcedc9e
13 arquivos alterados com 266 adições e 24 exclusões
+1 -2
Ver Arquivo
@@ -1565,8 +1565,6 @@ tool_fini(void* /*tool_data*/)
for(auto& itr : *agent_info)
_agents.emplace_back(itr.second);
auto _counters = get_tool_counter_info();
std::sort(_agents.begin(), _agents.end(), node_id_sort);
if(tool::get_config().csv_output)
@@ -1591,6 +1589,7 @@ tool_fini(void* /*tool_data*/)
if(tool::get_config().json_output)
{
auto _counters = get_tool_counter_info();
rocprofiler::tool::write_json(tool_functions,
getpid(),
contributions,