summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-06-23 14:03:37 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-06-23 14:42:33 -0400
commit405b71b8a7691e59409ae52ddfb2787189fb2dd9 (patch)
treee8137273dd10478868e051854bafa1cc2f13fbde /session.h
parenta21d81ec8b00571cb5987fe04ce74a3fe873351c (diff)
downloadsystemtap-steved-405b71b8a7691e59409ae52ddfb2787189fb2dd9.tar.gz
systemtap-steved-405b71b8a7691e59409ae52ddfb2787189fb2dd9.tar.xz
systemtap-steved-405b71b8a7691e59409ae52ddfb2787189fb2dd9.zip
make module_cache a session field rather than plain static
Diffstat (limited to 'session.h')
-rw-r--r--session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.h b/session.h
index e49b50d7..58bc7ac5 100644
--- a/session.h
+++ b/session.h
@@ -43,6 +43,7 @@ struct embeddedcode;
struct translator_output;
struct unparser;
struct semantic_error;
+struct module_cache;
// XXX: a generalized form of this descriptor could be associated with
@@ -163,6 +164,7 @@ struct systemtap_session
Dwarf_Addr sym_kprobes_text_end;
Dwarf_Addr sym_stext;
+ struct module_cache* module_cache;
std::set<std::string> seen_errors;
std::set<std::string> seen_warnings;
unsigned num_errors () { return seen_errors.size(); }