summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-10 16:39:17 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-18 17:47:23 -0400
commit9020300d0fca87336f84a8d40da9362735eda896 (patch)
treebc5920a41b3c4e62b2b343eb4f46ec836ded03bf /tapsets.cxx
parent6908711142cf34dc1b67d32a68a91998891af764 (diff)
downloadsystemtap-steved-9020300d0fca87336f84a8d40da9362735eda896.tar.gz
systemtap-steved-9020300d0fca87336f84a8d40da9362735eda896.tar.xz
systemtap-steved-9020300d0fca87336f84a8d40da9362735eda896.zip
PR442528
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 3d5af360..5cd6f8a2 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2329,6 +2329,8 @@ struct dwarf_derived_probe: public derived_probe
void join_group (systemtap_session& s);
+ void emit_probe_local_init(translator_output * o);
+
// Pattern registration helpers.
static void register_statement_variants(match_node * root,
dwarf_builder * dw);
@@ -4528,6 +4530,12 @@ dwarf_derived_probe::register_patterns(match_node * root)
// register_function_and_statement_variants(root->bind_str(TOK_PROCESS), dw);
}
+void
+dwarf_derived_probe::emit_probe_local_init(translator_output * o)
+{
+ // emit bsp cache setup
+ o->newline() << "bspcache(c->unwaddr, c->regs, c->probe_point);";
+}
// ------------------------------------------------------------------------