diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | translate.cxx | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-01-14 Martin Hunt <hunt@redhat.com> + + * translate.cxx (emit_module_exit): When using timing, delete timing + stats when finished. + 2008-01-12 Frank Ch. Eigler <fche@elastic.org> * configure.ac: Generate a build tree SNAPSHOT file from git-rev-list, 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) << "}"; } } |