summaryrefslogtreecommitdiffstats
path: root/staptree.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-09-22 22:51:30 +0000
committerfche <fche>2005-09-22 22:51:30 +0000
commit2930abc72e560a6b279e4d2f3891ca908beb4d41 (patch)
tree8fa6dc3cc3498fb851cd7afb24fe56181860a6cf /staptree.cxx
parent1f6143c4283cb7636b43e7e48f8ac73086a2370a (diff)
downloadsystemtap-steved-2930abc72e560a6b279e4d2f3891ca908beb4d41.tar.gz
systemtap-steved-2930abc72e560a6b279e4d2f3891ca908beb4d41.tar.xz
systemtap-steved-2930abc72e560a6b279e4d2f3891ca908beb4d41.zip
2005-09-22 Graydon Hoare <graydon@redhat.com>,
Frank Ch. Eigler <fche@elastic.org> PR 1330. * tapsets.cxx (dwarf_derived_probe): Allow multiple probe_point locations per derived_probe. (dwarf_query): Add probe "flavour" concept, to reuse probe bodies for identical flavours across wildcards. (dwarf::emit_registrations, emit_deregistrations, emit_probe_entries): Reorganize. * staptree (probe::printsig): Put multiple locations on separate lines.
Diffstat (limited to 'staptree.cxx')
-rw-r--r--staptree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/staptree.cxx b/staptree.cxx
index 47a5cd0c..a1e82158 100644
--- a/staptree.cxx
+++ b/staptree.cxx
@@ -458,7 +458,7 @@ void probe::printsig (ostream& o) const
{
for (unsigned i=0; i<locations.size(); i++)
{
- o << (i>0 ? ", " : "");
+ if (i > 0) o << "," << endl;
locations[i]->print (o);
}
}