summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorfche <fche>2005-07-05 20:38:37 +0000
committerfche <fche>2005-07-05 20:38:37 +0000
commitf4b2849102b2a195dd79bede8ec58f46fb99435e (patch)
treece9b211e38fc66caa1171584208595886067876a /elaborate.h
parent6deb8173c053febfbf336d1e962cb01d93a12404 (diff)
downloadsystemtap-steved-f4b2849102b2a195dd79bede8ec58f46fb99435e.tar.gz
systemtap-steved-f4b2849102b2a195dd79bede8ec58f46fb99435e.tar.xz
systemtap-steved-f4b2849102b2a195dd79bede8ec58f46fb99435e.zip
2005-07-05 Frank Ch. Eigler <fche@redhat.com>
* elaborate.h (systemtap_session): Add more command-line arguments. * staptree.h (verbose): Bad global, no donut. * elaborate.cxx: Temporarily disable verbose variable access. * main.cxx: Support more arguments, build/run passes. Revamp temporary file generation and partial-pass output generation. * tapsets.cxx, translate.cxx: Emit just enough extra punctuation and fluff to make generated probe pass -Werror. * buildrun.cxx, buildrun.h: New files for passes 4/5. Partial support for build pass, nothing on probe execution yet. * testsuite/transok/*.stp: Force just -p3, now that -p4/5 exist. * Makefile.am, Makefile.in: Corresponding changes.
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/elaborate.h b/elaborate.h
index 5855c92d..e61796fa 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -195,6 +195,22 @@ struct systemtap_session
{
systemtap_session ();
+ // command line args
+ std::vector<std::string> include_path;
+ std::vector<std::string> args;
+ std::string kernel_release;
+ std::string runtime_path;
+ std::string module_name;
+ int last_pass;
+ bool test_mode;
+ bool verbose;
+ bool keep_tmpdir;
+
+ // temporary directory for module builds etc.
+ // hazardous - it is "rm -rf"'d at exit
+ std::string tmpdir;
+ std::string translated_source; // C source code
+
match_node * pattern_root;
void register_library_aliases();
@@ -202,9 +218,6 @@ struct systemtap_session
stapfile* user_file;
std::vector<stapfile*> library_files;
- // configuration options
- // bool verbose_resolution;
-
// resolved globals/functions/probes for the run as a whole
std::vector<stapfile*> files;
std::vector<vardecl*> globals;