summaryrefslogtreecommitdiffstats
path: root/staptree.cxx
diff options
context:
space:
mode:
authorbrolley <brolley>2008-03-12 15:50:21 +0000
committerbrolley <brolley>2008-03-12 15:50:21 +0000
commit77b2151e03a48738124df191990ab1b0cd439d66 (patch)
tree619e6006b2f27795be227672f456f11898826d52 /staptree.cxx
parentcf3cf6cac06cfbc26076b38f9902df36a98c65aa (diff)
downloadsystemtap-steved-77b2151e03a48738124df191990ab1b0cd439d66.tar.gz
systemtap-steved-77b2151e03a48738124df191990ab1b0cd439d66.tar.xz
systemtap-steved-77b2151e03a48738124df191990ab1b0cd439d66.zip
2008-03-12 Dave Brolley <brolley@redhat.com>
PR5897 * staptree.cxx (probe::printsig): If this probe was derived from an alias, call the printsig method of the alias.
Diffstat (limited to 'staptree.cxx')
-rw-r--r--staptree.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/staptree.cxx b/staptree.cxx
index 778691f4..39f5580e 100644
--- a/staptree.cxx
+++ b/staptree.cxx
@@ -930,6 +930,13 @@ void probe::print (ostream& o) const
void probe::printsig (ostream& o) const
{
+ const probe_alias *alias = get_alias ();
+ if (alias)
+ {
+ alias->printsig (o);
+ return;
+ }
+
for (unsigned i=0; i<locations.size(); i++)
{
if (i > 0) o << ",";