Remove Critical Trace Support (#327)

* Delete core critical-trace files

* Update docs and README

* Update workflows

* Update testing

* Update cmake

* Remove critical trace usage in source code

* Update source/docs/critical_trace.md

- fix spelling

* Formatting

* Update bin/omnitrace-avail/avail.cpp

- statically allocate shared pointers for timemory manager and hash id/aliases to prevent use-after-free errors
This commit is contained in:
Jonathan R. Madsen
2024-04-23 09:35:44 -05:00
committed by GitHub
parent b81db80926
commit 9499e2f521
45 changed files with 55 additions and 2954 deletions
+1 -1
View File
@@ -50,6 +50,7 @@ template <typename... Args>
auto
get_backtrace(Args... _arg)
{
consume_args(_arg...);
auto _bt = std::stringstream{};
if constexpr(sizeof...(Args) > 0)
{
@@ -57,7 +58,6 @@ get_backtrace(Args... _arg)
}
tim::unwind::detailed_backtrace<2>(_bt, true);
return strdup(_bt.str().c_str());
consume_args(_arg...);
}
} // namespace