summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorfche <fche>2006-11-07 21:46:13 +0000
committerfche <fche>2006-11-07 21:46:13 +0000
commit29b0069bbdb682c48c2d5f545a48e01d4b99654e (patch)
treeb9e9dd1abf9b37671ee9eeae6047f897ceea220a /tapsets.cxx
parent1bbc78424803a64fa0be74c61e5889a0475703f8 (diff)
downloadsystemtap-steved-29b0069bbdb682c48c2d5f545a48e01d4b99654e.tar.gz
systemtap-steved-29b0069bbdb682c48c2d5f545a48e01d4b99654e.tar.xz
systemtap-steved-29b0069bbdb682c48c2d5f545a48e01d4b99654e.zip
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.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx1
1 files changed, 1 insertions, 0 deletions
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++)
{