Commit 71277767 authored by Micha Müller's avatar Micha Müller
Browse files

Extend Caliper patch: provisional fix for segfault on termination

parent 2636e4b1
......@@ -21,3 +21,27 @@
}
void post_init_cb(Caliper* c, Channel* chn) {
--- a/src/caliper/Caliper.cpp
+++ b/src/caliper/Caliper.cpp
@@ -267,15 +267,15 @@ struct Caliper::ThreadData
~ThreadData() {
{
- Caliper c;
- c.release_thread();
+// Caliper c;
+// c.release_thread();
}
if (is_initial_thread)
Caliper::release();
- if (Log::verbosity() >= 2)
- print_detailed_stats( Log(2).stream() );
+// if (Log::verbosity() >= 2)
+// print_detailed_stats( Log(2).stream() );
}
void print_detailed_stats(std::ostream& os) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment