exit gotcha + remove DelayedInit state + rocm-smi + cleanup (#110)

* exit gotcha + remove DelayedInit state + cleanup

- exit gotcha which wraps exit, quick_exit, abort
- minor refactor of mpi gotchas
- removed some redundant code in omnitrace_finalized_hidden
- exclude instrumenting functions starting with dlopen and dlsym
- exclude instrumenting exit, quick_exit, and abort functions
- update timemory submodule with support for new gotcha_invoker with (gotcha_data, <function pointer>, args...)

* Improved rocm_smi error handling
This commit is contained in:
Jonathan R. Madsen
2022-07-24 22:09:32 -05:00
committed by GitHub
vanhempi bcdec188eb
commit 99da25ea80
15 muutettua tiedostoa jossa 253 lisäystä ja 80 poistoa
@@ -217,8 +217,8 @@ pthread_mutex_gotcha::operator()(uintptr_t&& _id, const comp::gotcha_data& _data
_id, get_hashes().at(_data.index), _depth);
}
return _ret;
tim::consume_parameters(_id, _cid, _parent_cid, _depth, _ts);
return _ret;
}
int