summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-12 11:03:19 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-12 11:03:19 -0400
commit1c86aa2adc1165906057cdde4cc7484468726fc4 (patch)
treee4da7047f20489b9fc4b11cf501d42cf59c4b283 /elaborate.h
parentb53c1feef55dc74501a90257e4beff6c1a9cf03b (diff)
parent48899faa2d1280f7715b0abf892fb8b4b5c8ff43 (diff)
downloadsystemtap-steved-1c86aa2adc1165906057cdde4cc7484468726fc4.tar.gz
systemtap-steved-1c86aa2adc1165906057cdde4cc7484468726fc4.tar.xz
systemtap-steved-1c86aa2adc1165906057cdde4cc7484468726fc4.zip
Merge branch 'master' into unwind
* master: 2008-04-11 David Smith <dsmith@redhat.com> 2008-04-11 David Smith <dsmith@redhat.com> 2008-04-11 David Smith <dsmith@redhat.com> PR2949: add missing line PR2949: listings mode (stap -l PROBE) PR6393: don't bother print build (configure) date any more, with reliable git ids PR6393: regenerate git_version.h at every make PR6393: git version tagging at build time 2008-04-09 David Smith <dsmith@redhat.com> 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com> 2008-04-04 David Smith <dsmith@redhat.com> 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com> removing another part of retired LKET removing abandoned experiment: safety/* disassembly/symbol checks Conflicts: .gitignore ChangeLog runtime/ChangeLog
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h
index fc8fbbcb..f53f3870 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -114,6 +114,8 @@ struct derived_probe: public probe
derived_probe (probe* b, probe_point* l);
probe* base; // the original parsed probe
virtual probe* basest () { return base->basest(); }
+ // XXX: might be helpful for listing and stepwise expansion, but aliases/wildcards don't show up right
+ // virtual probe* almost_basest () { probe* bb = base->basest(); return (bb == base) ? this : bb; }
virtual ~derived_probe () {}
virtual void join_group (systemtap_session& s) = 0;
virtual probe_point* sole_location () const;
@@ -148,6 +150,12 @@ struct derived_probe_group
{
virtual ~derived_probe_group () {}
+ virtual void emit_module_header (systemtap_session& s) = 0;
+ // The _header-generated code may assume that only basic includes
+ // have been generated. _header is called near the start of the
+ // code generation process, before the context, embedded-C code,
+ // etc. are generated.
+
virtual void emit_module_decls (systemtap_session& s) = 0;
// The _decls-generated code may assume that declarations such as
// the context, embedded-C code, function and probe handler bodies