]> sourceware.org Git - systemtap.git/commitdiff
2008-01-14 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Mon, 14 Jan 2008 17:47:47 +0000 (17:47 +0000)
committerhunt <hunt>
Mon, 14 Jan 2008 17:47:47 +0000 (17:47 +0000)
* translate.cxx (emit_module_exit): When using timing, delete timing
stats when finished.

ChangeLog
translate.cxx

index 2810960411abe2e2ca58de8bb86614471fbbe8c7..97f08ddefe97d55fe42204161ad0019abb318fbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,
index 27b28d5f68dfed360ef28067cd77092acdd62aba..874e9dc12b48cc5ce2455764eb00b9634bfbc2c6 100644 (file)
@@ -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) << "}";
           }
       }
This page took 0.045584 seconds and 5 git commands to generate.