[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:
committed by
GitHub
parent
09a9f9e31d
commit
fddef714a0
@@ -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
|
||||
} };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user