diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tapsets.cxx | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2006-11-07 Frank Ch. Eigler <fche@elastic.org> + + * tapsets.cxx (profile_derived_probe_group::emit_module_decls): + Pass along incoming pt_regs to context of timer.profile handlers. + 2006-11-06 Martin Hunt <hunt@redhat.com> * translate.cxx (var::init): Check for errors when diff --git a/tapsets.cxx b/tapsets.cxx index 472b0ab3..3de3e5bd 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -3636,6 +3636,7 @@ profile_derived_probe_group::emit_module_decls (systemtap_session& s) s.op->indent(1); common_probe_entryfn_prologue (s.op, "STAP_SESSION_RUNNING"); s.op->newline() << "c->probe_point = \"timer.profile\";"; // NB: hard-coded for convenience + s.op->newline() << "c->regs = regs;"; for (unsigned i=0; i<probes.size(); i++) { |