Roctracer perfetto flow fixes (#267)

* testing label updates

- automatically add "gpu", "roctracer", "rocm-smi", and "rocprofiler" test labels when appropriate

* Bump version to v1.9.1

* roctracer and config updates

- fix perfetto::Flow
  - use roctracer correlation ID instead of critical trace correlation ID
- renamed ambiguous _cid, _parent_cid, _corr_id variables to _crit_cid, _parent_crit_cid, _roct_cid
- use atomic_{mutex,lock} instead of STL mutex/lock
- support for individual perfetto annotations for HIP API args
- OMNITRACE_PERFETTO_COMPACT_ROCTRACER_ANNOTATIONS option for controlling compact vs. individual perfetto annotations for HIP API args

* Update timemory submodule

- argparser updates
  - help prints to std::cout by default now
  - supports setting custom ostream

* cmake formatting

* config::get_setting_value updates

- config::get_setting_value returns std::optional instead of std::pair<bool, Tp>
此提交包含在:
Jonathan R. Madsen
2023-03-23 01:13:12 -05:00
提交者 GitHub
父節點 9eafb23602
當前提交 279a8e0952
共有 11 個檔案被更改,包括 173 行新增89 行删除
+2 -3
查看文件
@@ -222,9 +222,8 @@ post_process()
auto _get_setting = [](const std::string& _v) {
auto&& _b = config::get_setting_value<bool>(_v);
OMNITRACE_CI_THROW(!_b.first, "Error! No configuration setting named '%s'",
_v.c_str());
return (_b.first) ? _b.second : true;
OMNITRACE_CI_THROW(!_b, "Error! No configuration setting named '%s'", _v.c_str());
return _b.value_or(true);
};
auto _text_output = _get_setting("OMNITRACE_TEXT_OUTPUT");