Perfetto updates (#211)

* Retry support in build-docker-release.sh

* critical-trace perfetto update

- use ::perfetto::Track instead of threads to create rows
- refactor call_chain::generate_perfetto

* Fix backtrace_metrics for perfetto

- get_papi_labels is now properly populated

* Refactor sampling::post_process_perfetto

- include HW counter delta in sample debug annotations
- reduce the amount debug annotation data stored in the call-stack
  - if the data is common to the entire stack, it is only annotated in the first and the last call-stack entry

* exit_gotcha::exit_info

* Improve OMPT shutdown

- cause spurious test failures

* Update source/lib/omnitrace/library/ompt.cpp
Ta zmiana jest zawarta w:
Jonathan R. Madsen authored and GitHub committed 2022-11-17 08:43:45 -06:00
1 rodzic 589a729702
złożenie 2ebfe3fc30
11 plików zmienionych
+357 -266

Żadne pliki nie pasują do Twojego wyszukiwania

+9
Wyświetl plik
@@ -50,6 +50,8 @@ exit_gotcha::configure()
namespace
{
auto _exit_info = exit_gotcha::exit_info{};
template <typename FuncT, typename... Args>
void
invoke_exit_gotcha(const exit_gotcha::gotcha_data& _data, FuncT _func, Args... _args)
@@ -87,6 +89,7 @@ invoke_exit_gotcha(const exit_gotcha::gotcha_data& _data, FuncT _func, Args... _
void
exit_gotcha::operator()(const gotcha_data& _data, exit_func_t _func, int _ec) const
{
_exit_info = { true, _data.tool_id.find("quick") != std::string::npos, _ec };
invoke_exit_gotcha(_data, _func, _ec);
}
@@ -96,5 +99,11 @@ exit_gotcha::operator()(const gotcha_data& _data, abort_func_t _func) const
{
invoke_exit_gotcha(_data, _func);
}
exit_gotcha::exit_info
exit_gotcha::get_exit_info()
{
return _exit_info;
}
} // namespace component
} // namespace omnitrace