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]
Этот коммит содержится в:
Jonathan R. Madsen authored and GitHub committed 2022-08-31 11:33:45 -05:00
1 родитель 2ef9dfd002
Коммит 1b6cbf7d65
15 files changed
+122 -204

No files matched your search

+11 -3
Просмотреть файл
@@ -216,11 +216,19 @@ get_main_bundle()
return _v;
}
std::unique_ptr<gotcha_bundle_t>&
get_gotcha_bundle()
std::unique_ptr<init_bundle_t>&
get_init_bundle()
{
static auto _v = std::make_unique<init_bundle_t>(
JOIN('/', "omnitrace/process", process::get_id()));
return _v;
}
std::unique_ptr<preinit_bundle_t>&
get_preinit_bundle()
{
static auto _v =
(setup_gotchas(), std::make_unique<gotcha_bundle_t>(
(setup_gotchas(), std::make_unique<preinit_bundle_t>(
JOIN('/', "omnitrace/process", process::get_id()),
quirk::config<quirk::auto_start>{}));
return _v;