summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2009-03-20 16:36:25 -0400
committerStan Cox <scox@redhat.com>2009-03-20 16:39:25 -0400
commit5fd5bcfa7af0b19c74ef23c872fa9894990ec641 (patch)
tree38f233b452626ed77dcd5f0c448c0019708a8e65 /translate.cxx
parent422735b3ec857e812097566e28950aa3313892b4 (diff)
parent9c73606142525f521a44c4907832b2d1e1f3c659 (diff)
downloadsystemtap-steved-5fd5bcfa7af0b19c74ef23c872fa9894990ec641.tar.gz
systemtap-steved-5fd5bcfa7af0b19c74ef23c872fa9894990ec641.tar.xz
systemtap-steved-5fd5bcfa7af0b19c74ef23c872fa9894990ec641.zip
Define static user probe point using asm instead of c.
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), "