diff options
author | Stan Cox <scox@redhat.com> | 2009-03-20 16:36:25 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2009-03-20 16:39:25 -0400 |
commit | 5fd5bcfa7af0b19c74ef23c872fa9894990ec641 (patch) | |
tree | 38f233b452626ed77dcd5f0c448c0019708a8e65 /translate.cxx | |
parent | 422735b3ec857e812097566e28950aa3313892b4 (diff) | |
parent | 9c73606142525f521a44c4907832b2d1e1f3c659 (diff) | |
download | systemtap-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.cxx | 5 |
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), " |