summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index e4251f2a..38ce014e 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1147,7 +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
+ if (s.listing_mode || s.guru_mode) return; // avoid end probe
+ //in listings_mode or guru_mode
varuse_collecting_visitor vut;
for (unsigned i=0; i<s.probes.size(); i++)