Misc fixes before v1.8.0 release (#239)
* Update timemory submodule for OMPT - Updated OMPT support for OpenMP 5.2 * omnitrace exe cleanup - fixed "omnitrace --" segfault - added nullptr checks * CMake updates - moved omnitrace-interface-library definition up a directory - general cleanup - fixed branch/tag/ref for git submodule checkouts * Improve shutdown of causal profiling after duration limit * Fix dyninst minimum version number * Removed debug print from binary::get_link_map * Remove use of thread-pool in causal * Relax causal testing when variance is high * causal_gotcha utilities for blocking signals * Tweak to causal example * Install validate-causal-json as omnitrace-causal-print * simplify address_multirange * improve causal line saving
此提交包含在:
1 父節點
32b15fe7b7
當前提交
aadffbe2b1
21 file changed
+244
-96
No files matched your search
@@ -37,6 +37,7 @@
|
||||
#include <timemory/components/timing/backends.hpp>
|
||||
#include <timemory/components/timing/wall_clock.hpp>
|
||||
#include <timemory/mpl/concepts.hpp>
|
||||
#include <timemory/mpl/type_traits.hpp>
|
||||
#include <timemory/mpl/types.hpp>
|
||||
#include <timemory/process/threading.hpp>
|
||||
#include <timemory/units.hpp>
|
||||
@@ -126,7 +127,8 @@ backtrace::sample(int _sig)
|
||||
// update the last sample for backtrace signal(s) even when in use
|
||||
static thread_local int64_t _last_sample = 0;
|
||||
|
||||
if(is_in_use())
|
||||
if(is_in_use() ||
|
||||
OMNITRACE_UNLIKELY(!trait::runtime_enabled<causal::component::backtrace>::get()))
|
||||
{
|
||||
if(_sig == get_realtime_signal()) _last_sample = tracing::now();
|
||||
return;
|
||||
|
||||
Reference in new issue
封鎖使用者