summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorfche <fche>2006-05-25 02:03:01 +0000
committerfche <fche>2006-05-25 02:03:01 +0000
commita44a0785c9869062b431573678237c5a646a71a7 (patch)
tree0e8eb511904db36f0bbc826b8990d1d6af4ab0a7 /elaborate.h
parentcfe3fd5015c459688c00741de58713445cb5eba9 (diff)
downloadsystemtap-steved-a44a0785c9869062b431573678237c5a646a71a7.tar.gz
systemtap-steved-a44a0785c9869062b431573678237c5a646a71a7.tar.xz
systemtap-steved-a44a0785c9869062b431573678237c5a646a71a7.zip
2006-05-24 Frank Ch. Eigler <fche@elastic.org>
Pass 4 speedup. * tapsets.cxx (derived_probe::emit_common_header): New function, to emit code formerly inlined by emit_probe_prologue/epilogue. * translate.cxx (emit_common_header): Call it. * elaborate.h: Corresponding changes.
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h
index 426b8ee2..689c35af 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -140,6 +140,10 @@ struct derived_probe: public probe
protected:
void emit_probe_prologue (translator_output* o, const std::string&);
void emit_probe_epilogue (translator_output* o);
+
+public:
+ static void emit_common_header (translator_output* o);
+ // from c_unparser::emit_common_header
};
// ------------------------------------------------------------------------