summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2008-09-12 08:14:39 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-09-12 08:14:39 -0400
commit3438f38f647db43bfc06b12930b7dfc14af7d67d (patch)
treeb3ebfbd9f2b81c793eadb1ad33e68aaf5136a51d /elaborate.cxx
parentaed575d2380dcca0d8212d3dde9bb13f1302562a (diff)
downloadsystemtap-steved-3438f38f647db43bfc06b12930b7dfc14af7d67d.tar.gz
systemtap-steved-3438f38f647db43bfc06b12930b7dfc14af7d67d.tar.xz
systemtap-steved-3438f38f647db43bfc06b12930b7dfc14af7d67d.zip
Fix redundant implicit probe points in listing mode
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++)
{