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
2022-08-31 11:33:45 -05:00
커밋한 사람 GitHub
부모 e67afd33eb
커밋 2718596e5a
15개의 변경된 파일과 122개의 추가작업 그리고 204개의 파일을 삭제
+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;