summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index c69dc201..c62ba9fd 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -1515,6 +1515,9 @@ c_unparser::emit_probe (derived_probe* v)
o->newline() << "c->statp = & time_" << v->basest()->name << ";";
o->newline() << "#endif";
+ // emit probe local initialization block
+ v->emit_probe_local_init(o);
+
// emit all read/write locks for global variables
varuse_collecting_visitor vut;
if (v->needs_global_locks ())