summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-07-29 12:35:29 -0700
committerJosh Stone <jistone@redhat.com>2009-07-29 12:35:29 -0700
commit8c39844b59f49526240c65b81a79eef311fe4177 (patch)
treec77e279c297fdc11c94ad8343e6f394d15992acc /session.h
parenta7999c82a3355eb5a68a14a57ffebe5e688d8413 (diff)
downloadsystemtap-steved-8c39844b59f49526240c65b81a79eef311fe4177.tar.gz
systemtap-steved-8c39844b59f49526240c65b81a79eef311fe4177.tar.xz
systemtap-steved-8c39844b59f49526240c65b81a79eef311fe4177.zip
Use a real session flag for -L
Rather than relying on 'unoptimized' to tell us that the listing mode should print the variables too, this adds an explicit listing_mode_vars. * session.h (systemtap_session): Add listing_mode_vars * main.cxx (main): Set s.listing_mode_vars appropriately. (printscript): Use the new flag for deciding whether to print locals
Diffstat (limited to 'session.h')
-rw-r--r--session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.h b/session.h
index e68cd6df..cd12f495 100644
--- a/session.h
+++ b/session.h
@@ -103,6 +103,7 @@ struct systemtap_session
bool keep_tmpdir;
bool guru_mode;
bool listing_mode;
+ bool listing_mode_vars;
bool bulk_mode;
bool unoptimized;
bool merge;