diff options
author | brolley <brolley> | 2008-03-12 15:50:21 +0000 |
---|---|---|
committer | brolley <brolley> | 2008-03-12 15:50:21 +0000 |
commit | 77b2151e03a48738124df191990ab1b0cd439d66 (patch) | |
tree | 619e6006b2f27795be227672f456f11898826d52 /staptree.cxx | |
parent | cf3cf6cac06cfbc26076b38f9902df36a98c65aa (diff) | |
download | systemtap-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.cxx | 7 |
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 << ","; |