summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tapsets.cxx1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c6874e40..5b08d0f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-01-18 Josh Stone <joshua.i.stone@intel.com>
+ * tapsets.cxx (profile_derived_probe::emit_probe_entries): Setup
+ c->regs properly in light of the emit_probe_prologue change.
+
+2006-01-18 Josh Stone <joshua.i.stone@intel.com>
+
* translate.cxx (c_unparser::visit_foreach_loop): improved the error
message when _stp_pmap_agg fails.
diff --git a/tapsets.cxx b/tapsets.cxx
index 0ad6d5cf..7d10ddf3 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -3403,6 +3403,7 @@ profile_derived_probe::emit_probe_entries (translator_output* o, unsigned j)
o->newline() << "const char* probe_point = "
<< lex_cast_qstring(*locations[0]) << ";";
emit_probe_prologue (o, "STAP_SESSION_RUNNING");
+ o->newline() << "c->regs = regs;";
if (using_rpn) {
o->newline() << "(void) self;";