summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index 27b28d5f..874e9dc1 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -1298,6 +1298,7 @@ c_unparser::emit_module_exit ()
o->newline() << "_stp_printf (\"probe %s (%s), hits: %lld, cycles: %lldmin/%lldavg/%lldmax\\n\",";
o->newline() << "probe_point, decl_location, (long long) stats->count, (long long) stats->min, (long long) avg, (long long) stats->max);";
o->newline(-1) << "}";
+ o->newline() << "_stp_stat_del (time_" << p->name << ");";
o->newline(-1) << "}";
}
}