From 551e9f14739c2be5c5d94efef3def1126cbbba39 Mon Sep 17 00:00:00 2001 From: dsmith Date: Tue, 24 Apr 2007 17:33:41 +0000 Subject: [PATCH] 2007-04-24 David Smith * tapsets.cxx (common_probe_entryfn_epilogue): Increment error_count when overload processing kicks in. --- ChangeLog | 5 +++++ tapsets.cxx | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3acc80678..54744ecf6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-04-24 David Smith + + * tapsets.cxx (common_probe_entryfn_epilogue): Increment + error_count when overload processing kicks in. + 2007-04-24 Martin Hunt * stp_check.in: More tweaking of mount statement. diff --git a/tapsets.cxx b/tapsets.cxx index dc306c8a4..029b4dec6 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -248,6 +248,7 @@ common_probe_entryfn_epilogue (translator_output* o, o->newline(1) << "if (c->cycles_sum > STP_OVERLOAD_THRESHOLD) {"; o->newline(1) << "_stp_error (\"probe overhead exceeded threshold\");"; o->newline() << "atomic_set (&session_state, STAP_SESSION_ERROR);"; + o->newline() << "atomic_inc (&error_count);"; o->newline(-1) << "}"; o->newline() << "c->cycles_base = cycles_atend;"; -- 2.43.5