summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 764f678e..6e776a58 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -216,6 +216,10 @@ common_probe_entryfn_prologue (translator_output* o, string statestr,
o->newline() << "#ifdef STP_TIMING";
o->newline() << "c->statp = 0;";
o->newline() << "#endif";
+ o->newline() << "#ifdef STP_OVERLOAD";
+ o->newline() << "c->cycles_sum = 0;";
+ o->newline() << "c->cycles_base = 0;";
+ o->newline() << "#endif";
}