Support tracing thread locks with perfetto (#143)

- remove sampling and roctracer flat/timeline options
  - unused/unnecessary clutter
- start pthread_gotcha before perfetto
- remove pthread_mutex_gotcha validate
- update timemory submodule with tid fix

[ROCm/rocprofiler-systems commit: 2718596e5a]
This commit is contained in:
Jonathan R. Madsen
2022-08-31 11:33:45 -05:00
committed by GitHub
parent 2ef9dfd002
commit 1b6cbf7d65
15 changed files with 122 additions and 204 deletions
@@ -97,7 +97,7 @@ thread_info::init(bool _offset)
const std::optional<thread_info>&
thread_info::get()
{
return get(utility::get_thread_index(), LookupTID);
return thread_info_data_t::instances().at(utility::get_thread_index());
}
const std::optional<thread_info>&