diff options
author | hunt <hunt> | 2008-01-14 17:47:47 +0000 |
---|---|---|
committer | hunt <hunt> | 2008-01-14 17:47:47 +0000 |
commit | d97870325d227b4c51e616a3d2ff8a521d89829f (patch) | |
tree | dc79bc10631141a57f09d74d4dc8b5fe509e5076 /translate.cxx | |
parent | 05de43cb8395b523d59de27dd964c6abe26e41e3 (diff) | |
download | systemtap-steved-d97870325d227b4c51e616a3d2ff8a521d89829f.tar.gz systemtap-steved-d97870325d227b4c51e616a3d2ff8a521d89829f.tar.xz systemtap-steved-d97870325d227b4c51e616a3d2ff8a521d89829f.zip |
2008-01-14 Martin Hunt <hunt@redhat.com>
* translate.cxx (emit_module_exit): When using timing, delete timing
stats when finished.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 1 |
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) << "}"; } } |