diff options
author | fche <fche> | 2005-09-22 23:05:03 +0000 |
---|---|---|
committer | fche <fche> | 2005-09-22 23:05:03 +0000 |
commit | bc6c4e5fb4b8a3ad15eb41ffd65f66a689f39d20 (patch) | |
tree | 5e1c7c1d1d3836bc4af129459d60fd8abd2ba945 | |
parent | 2930abc72e560a6b279e4d2f3891ca908beb4d41 (diff) | |
download | systemtap-steved-bc6c4e5fb4b8a3ad15eb41ffd65f66a689f39d20.tar.gz systemtap-steved-bc6c4e5fb4b8a3ad15eb41ffd65f66a689f39d20.tar.xz systemtap-steved-bc6c4e5fb4b8a3ad15eb41ffd65f66a689f39d20.zip |
* reduce emitted comment noise
-rw-r--r-- | translate.cxx | 5 |
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)) {"; |