summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/session.h b/session.h
index fa8d375a..75e13136 100644
--- a/session.h
+++ b/session.h
@@ -16,6 +16,10 @@
#include <sstream>
#include <map>
+extern "C" {
+#include <elfutils/libdw.h>
+}
+
// forward decls for all referenced systemtap types
struct match_node;
@@ -109,6 +113,11 @@ struct systemtap_session
translator_output* op;
unparser* up;
+ // kprobes_text data
+ bool kprobes_text_initialized;
+ Dwarf_Addr kprobes_text_start;
+ Dwarf_Addr kprobes_text_end;
+
unsigned num_errors;
// void print_error (const parse_error& e);
void print_error (const semantic_error& e);