summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2008-09-12 11:26:06 -0400
committerDave Brolley <brolley@redhat.com>2008-09-12 11:26:06 -0400
commit87fa559f6de5e781f3ba2fe150d7421fb7d75efa (patch)
tree5d4218da9b0f949954a1e0ce320b17d131a369fd /elaborate.cxx
parent2c92c3026644f70f2628949a5cc0f94506a46ff5 (diff)
parent3438f38f647db43bfc06b12930b7dfc14af7d67d (diff)
downloadsystemtap-steved-87fa559f6de5e781f3ba2fe150d7421fb7d75efa.tar.gz
systemtap-steved-87fa559f6de5e781f3ba2fe150d7421fb7d75efa.tar.xz
systemtap-steved-87fa559f6de5e781f3ba2fe150d7421fb7d75efa.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts: ChangeLog
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index 552ef338..b476948b 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1147,6 +1147,8 @@ semantic_pass_symbols (systemtap_session& s)
// Keep unread global variables for probe end value display.
void add_global_var_display (systemtap_session& s)
{
+ if (s.listing_mode) return; // avoid end probe in listings_mode
+
varuse_collecting_visitor vut;
for (unsigned i=0; i<s.probes.size(); i++)
{