summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index d9d9840d..71241d00 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -657,6 +657,8 @@ c_unparser::emit_module_init ()
for (unsigned i=0; i<session->probes.size(); i++)
{
o->newline() << "/* register " << i << " */";
+ for (unsigned k=0; k<session->probes[i]->locations.size(); k++)
+ o->newline() << "/* " << *session->probes[i]->locations[k] << " */";
session->probes[i]->emit_registrations (o, i);
o->newline() << "if (unlikely (rc)) {";