summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjistone <jistone>2006-01-18 23:17:46 +0000
committerjistone <jistone>2006-01-18 23:17:46 +0000
commita7978f80f7621ffba04999b7c1360afa242b01dd (patch)
treef44f89c2f5c0d1b6eae06f97522009dc0e802ed7
parentfadbb91d3c7fa837ba5ecf8972bacc922c73069f (diff)
downloadsystemtap-steved-a7978f80f7621ffba04999b7c1360afa242b01dd.tar.gz
systemtap-steved-a7978f80f7621ffba04999b7c1360afa242b01dd.tar.xz
systemtap-steved-a7978f80f7621ffba04999b7c1360afa242b01dd.zip
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.
-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;";