]> sourceware.org Git - systemtap.git/commitdiff
* reduce emitted comment noise
authorfche <fche>
Thu, 22 Sep 2005 23:05:03 +0000 (23:05 +0000)
committerfche <fche>
Thu, 22 Sep 2005 23:05:03 +0000 (23:05 +0000)
translate.cxx

index b3a4221e6e2ee3d00f0f1ccf07999042c3d5e505..cc1d97bff8f96ec0885499d4203e1f3aedd4bcb4 100644 (file)
@@ -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)) {";
This page took 0.036653 seconds and 5 git commands to generate.