[rocprofiler-systems] Add trace_cache unit tests (#2086)

Improve test coverage and reliability of the trace_cache module by adding comprehensive unit tests for all major components.
This commit is contained in:
Milan Radosavljevic
2025-12-03 15:25:33 +01:00
committed by GitHub
parent 09a9f9e31d
commit fddef714a0
19 changed files with 2953 additions and 42 deletions
@@ -578,7 +578,11 @@ rocprofsys_init_tooling_hidden(void)
ROCPROFSYS_DEBUG_F("State: %s -> State::Active\n",
std::to_string(get_state()).c_str());
trace_cache::get_buffer_storage().start(getpid());
{
ROCPROFSYS_SCOPED_SAMPLING_ON_CHILD_THREADS(false);
trace_cache::get_buffer_storage().start(getpid());
}
set_state(State::Active); // set to active as very last operation
} };