diff options
author | fche <fche> | 2006-01-15 17:26:18 +0000 |
---|---|---|
committer | fche <fche> | 2006-01-15 17:26:18 +0000 |
commit | 315b86df3e95c631b678d98b5d0ca7a380f1fed4 (patch) | |
tree | 3896e5c0aae285f45f04796c27dcc2a3e952dcae /tapset/logging.stp | |
parent | 2cfb0e462faa1bbfe585cdddc46ae70c1650cb58 (diff) | |
download | systemtap-steved-315b86df3e95c631b678d98b5d0ca7a380f1fed4.tar.gz systemtap-steved-315b86df3e95c631b678d98b5d0ca7a380f1fed4.tar.xz systemtap-steved-315b86df3e95c631b678d98b5d0ca7a380f1fed4.zip |
2006-01-15 Frank Ch. Eigler <fche@elastic.org>
PR 2148
* translate.cxx (MAXERRORS): Actually the max should be 0, so first
error aborts session.
* Revert last stp_exit change.
Diffstat (limited to 'tapset/logging.stp')
-rw-r--r-- | tapset/logging.stp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tapset/logging.stp b/tapset/logging.stp index 1164244f..c9c60c8d 100644 --- a/tapset/logging.stp +++ b/tapset/logging.stp @@ -21,6 +21,7 @@ function warn (msg:string) %{ // NB: exit() does *not* cause immediate return from current function/probe function exit () %{ + atomic_set (&session_state, STAP_SESSION_STOPPING); _stp_exit (); %} |