summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-13 22:50:18 -0400
committerwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-13 22:50:18 -0400
commitbd10b81c06a0102ac10617da2f368fcc168fc15e (patch)
tree07c4878e3eaf77801d5104c2f6c498cfff9e3bbd /elaborate.h
parentd58c66bfef5cfa7267ced03db11928fd5c78ba9c (diff)
parentf7e07777e033e580351dc6886ab7dbdddd9839fe (diff)
downloadsystemtap-steved-bd10b81c06a0102ac10617da2f368fcc168fc15e.tar.gz
systemtap-steved-bd10b81c06a0102ac10617da2f368fcc168fc15e.tar.xz
systemtap-steved-bd10b81c06a0102ac10617da2f368fcc168fc15e.zip
Merge branch 'master' of ssh://wenji@sources.redhat.com/git/systemtap
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