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>
此提交包含在:
@@ -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");
|
||||
|
||||
新增問題並參考
封鎖使用者