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
This commit is contained in:
Jonathan R. Madsen
2023-02-08 11:54:45 -06:00
committed by GitHub
parent 32b15fe7b7
commit aadffbe2b1
21 changed files with 244 additions and 96 deletions
+4 -4
View File
@@ -53,8 +53,8 @@ address_multirange::operator+=(uintptr_t _v)
{
*this += std::make_pair(coarse{}, _v);
for(auto&& itr : m_fine_ranges)
if(itr.contains(_v)) return *this;
// for(auto&& itr : m_fine_ranges)
// if(itr.contains(_v)) return *this;
m_fine_ranges.emplace(address_range{ _v });
return *this;
@@ -65,8 +65,8 @@ address_multirange::operator+=(address_range _v)
{
*this += std::make_pair(coarse{}, _v);
for(auto&& itr : m_fine_ranges)
if(itr.contains(_v)) return *this;
// for(auto&& itr : m_fine_ranges)
// if(itr.contains(_v)) return *this;
m_fine_ranges.emplace(_v);
return *this;
-1
View File
@@ -126,7 +126,6 @@ get_link_map(const char* _lib, const std::string& _exclude_linked_by,
for(const auto& itr : _full_chain)
{
std::cout << itr << std::endl;
if(_excl_chain.find(itr) == _excl_chain.end())
{
if(_exclude_re.empty() || !std::regex_search(itr, std::regex{ _exclude_re }))