diff options
author | Dave Brolley <brolley@redhat.com> | 2009-03-30 15:41:31 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-03-30 15:41:31 -0400 |
commit | 8f2b14197e7db279434c5b063b755d1121c137de (patch) | |
tree | e6d335d41fbe085fccac277a5565dd089267db32 /session.h | |
parent | 4407fecb4b4e7466b256a26d1bfd63333bf367a2 (diff) | |
parent | 267a544424be10825c57ea3eaa4d908c818211c7 (diff) | |
download | systemtap-steved-8f2b14197e7db279434c5b063b755d1121c137de.tar.gz systemtap-steved-8f2b14197e7db279434c5b063b755d1121c137de.tar.xz systemtap-steved-8f2b14197e7db279434c5b063b755d1121c137de.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Conflicts:
aclocal.m4
configure
testsuite/aclocal.m4
Also:
2009-03-30 Dave Brolley <brolley@redhat.com>
* nsscommon.c (nssError): Handle SEC_ERROR_BAD_SIGNATURE.
2009-03-30 Dave Brolley <brolley@redhat.com>
* modverify.c (verify_it): Print a message if the module may have been
tampered with.
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -74,8 +74,9 @@ struct statistic_decl struct systemtap_session { systemtap_session (); - // NB: new POD members likely need to be explicitly cleared in the ctor. - // See elaborate.cxx. + // NB: It is very important for all of the above (and below) fields + // to be cleared in the systemtap_session ctor (elaborate.cxx) + // and/or main.cxx(main). // command line args std::vector<std::string> include_path; @@ -113,6 +114,10 @@ struct systemtap_session bool need_uprobes; bool load_only; // flight recorder mode + // NB: It is very important for all of the above (and below) fields + // to be cleared in the systemtap_session ctor (elaborate.cxx) + // and/or main.cxx(main). + // Cache data bool use_cache; std::string cache_path; @@ -129,6 +134,10 @@ struct systemtap_session // Skip bad $ vars bool skip_badvars; + // NB: It is very important for all of the above (and below) fields + // to be cleared in the systemtap_session ctor (elaborate.cxx) + // and/or main.cxx(main). + // temporary directory for module builds etc. // hazardous - it is "rm -rf"'d at exit std::string tmpdir; @@ -173,8 +182,10 @@ struct systemtap_session hrtimer_derived_probe_group* hrtimer_derived_probes; perfmon_derived_probe_group* perfmon_derived_probes; procfs_derived_probe_group* procfs_derived_probes; + // NB: It is very important for all of the above (and below) fields - // to be cleared in the systemtap_session ctor (elaborate.cxx). + // to be cleared in the systemtap_session ctor (elaborate.cxx) + // and/or main.cxx(main). // unparser data translator_output* op; @@ -190,6 +201,10 @@ struct systemtap_session std::set<std::string> unwindsym_modules; struct module_cache* module_cache; + // NB: It is very important for all of the above (and below) fields + // to be cleared in the systemtap_session ctor (elaborate.cxx) + // and/or main.cxx(main). + std::set<std::string> seen_errors; std::set<std::string> seen_warnings; unsigned num_errors () { return seen_errors.size(); } @@ -201,7 +216,9 @@ struct systemtap_session void print_error_source (std::ostream&, std::string&, const token* tok); void print_warning (const std::string& w, const token* tok = 0); - // reNB: new POD members likely need to be explicitly cleared in the ctor. + // NB: It is very important for all of the above (and below) fields + // to be cleared in the systemtap_session ctor (elaborate.cxx) + // and/or main.cxx(main). }; |