summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-03-20 16:30:02 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-03-20 16:30:02 -0400
commit9c73606142525f521a44c4907832b2d1e1f3c659 (patch)
tree3c467ddfef14fd099c395cfa98eaf67a23f5be8b /translate.cxx
parent947d86f92e1e1a12e587e6a7b1955ff324c3fdf5 (diff)
downloadsystemtap-steved-9c73606142525f521a44c4907832b2d1e1f3c659.tar.gz
systemtap-steved-9c73606142525f521a44c4907832b2d1e1f3c659.tar.xz
systemtap-steved-9c73606142525f521a44c4907832b2d1e1f3c659.zip
PR9967: don't count -DINTERRUPTIBLE=1 reentrancy against MAXSKIPPED
* tapsets.cxx (common_probe_entryfn_prologue): Become conditional on !INTERRUPTIBLE. * translate.cxx (emit_module_exit): Still print skipped_count_reentrant with -t, even if skipped_count was zero.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/translate.cxx b/translate.cxx
index 377a11fb..e7c23672 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -1360,9 +1360,10 @@ c_unparser::emit_module_exit ()
o->newline() << "#endif";
}
- // print final error/reentrancy counts if non-zero
+ // print final error/skipped counts if non-zero
o->newline() << "if (atomic_read (& skipped_count) || "
- << "atomic_read (& error_count)) {";
+ << "atomic_read (& error_count) || "
+ << "atomic_read (& skipped_count_reentrant)) {"; // PR9967
o->newline(1) << "_stp_warn (\"Number of errors: %d, "
<< "skipped probes: %d\\n\", "
<< "(int) atomic_read (& error_count), "