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
Αυτή η υποβολή περιλαμβάνεται σε:
Jonathan R. Madsen authored and GitHub committed 2022-08-31 11:33:45 -05:00
1 γονέας e67afd33eb
υποβολή 2718596e5a
15 files changed
+122 -204

No files matched your search

@@ -144,7 +144,7 @@ pthread_create_gotcha::wrapper::wrapper(routine_t _routine, void* _arg,
void*
pthread_create_gotcha::wrapper::operator()() const
{
using thread_bundle_data_t = thread_data<omnitrace_thread_bundle_t>;
using thread_bundle_data_t = thread_data<thread_bundle_t>;
if(is_shutdown && *is_shutdown)
{
@@ -195,7 +195,7 @@ pthread_create_gotcha::wrapper::operator()() const
threading::set_thread_name(TIMEMORY_JOIN(" ", "Thread", _tid).c_str());
if(!thread_bundle_data_t::instances().at(_tid))
{
thread_data<omnitrace_thread_bundle_t>::construct(
thread_data<thread_bundle_t>::construct(
TIMEMORY_JOIN('/', "omnitrace/process", process::get_id(), "thread",
_tid),
quirk::config<quirk::auto_start>{});