summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
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++)
{