summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-11 13:37:07 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-11 13:37:07 -0400
commitbf50bb491c5bfcf3035de45ac58acf11ed02af06 (patch)
tree2ea9006cb818783ccf7f026500a092903df869db /elaborate.h
parent68eef6bdafca37b9b05dbc6d773a642ccafd9962 (diff)
parent48899faa2d1280f7715b0abf892fb8b4b5c8ff43 (diff)
downloadsystemtap-steved-bf50bb491c5bfcf3035de45ac58acf11ed02af06.tar.gz
systemtap-steved-bf50bb491c5bfcf3035de45ac58acf11ed02af06.tar.xz
systemtap-steved-bf50bb491c5bfcf3035de45ac58acf11ed02af06.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
* 'master' of git://sources.redhat.com/git/systemtap: 2008-04-11 David Smith <dsmith@redhat.com> 2008-04-11 David Smith <dsmith@redhat.com> 2008-04-11 David Smith <dsmith@redhat.com>
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h
index 30bf5bce..f53f3870 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -150,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