summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-10 16:39:17 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-18 17:47:23 -0400
commit9020300d0fca87336f84a8d40da9362735eda896 (patch)
treebc5920a41b3c4e62b2b343eb4f46ec836ded03bf /translate.cxx
parent6908711142cf34dc1b67d32a68a91998891af764 (diff)
downloadsystemtap-steved-9020300d0fca87336f84a8d40da9362735eda896.tar.gz
systemtap-steved-9020300d0fca87336f84a8d40da9362735eda896.tar.xz
systemtap-steved-9020300d0fca87336f84a8d40da9362735eda896.zip
PR442528
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 ())