diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-03-20 19:13:45 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-03-20 19:13:45 -0400 |
commit | 11dc6a07aa2aa1c7da1738c20cbc5c19f878374b (patch) | |
tree | be4842363e318d4729c8983fcfdb52306d18904a /translate.cxx | |
parent | 5fd5bcfa7af0b19c74ef23c872fa9894990ec641 (diff) | |
download | systemtap-steved-11dc6a07aa2aa1c7da1738c20cbc5c19f878374b.tar.gz systemtap-steved-11dc6a07aa2aa1c7da1738c20cbc5c19f878374b.tar.xz systemtap-steved-11dc6a07aa2aa1c7da1738c20cbc5c19f878374b.zip |
fix build regression w/o -t
* translate.cxx (emit_common_header): Always emit atomic_t skipped_* counters.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/translate.cxx b/translate.cxx index e7c23672..40bb82c2 100644 --- a/translate.cxx +++ b/translate.cxx @@ -867,12 +867,10 @@ c_unparser::emit_common_header () o->newline() << "static atomic_t session_state = ATOMIC_INIT (STAP_SESSION_STARTING);"; o->newline() << "static atomic_t error_count = ATOMIC_INIT (0);"; o->newline() << "static atomic_t skipped_count = ATOMIC_INIT (0);"; - o->newline() << "#ifdef STP_TIMING"; o->newline() << "static atomic_t skipped_count_lowstack = ATOMIC_INIT (0);"; o->newline() << "static atomic_t skipped_count_reentrant = ATOMIC_INIT (0);"; o->newline() << "static atomic_t skipped_count_uprobe_reg = ATOMIC_INIT (0);"; o->newline() << "static atomic_t skipped_count_uprobe_unreg = ATOMIC_INIT (0);"; - o->newline() << "#endif"; o->newline(); o->newline() << "struct context {"; o->newline(1) << "atomic_t busy;"; |