summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--translate.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/translate.cxx b/translate.cxx
index b3a4221e..cc1d97bf 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -733,9 +733,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] << " */";
+ o->newline() << "/* register probe #" << i << ", ";
+ o->line() << session->probes[i]->locations.size() << " location(s) */";
session->probes[i]->emit_registrations (o, i);
o->newline() << "if (unlikely (rc)) {";