diff options
author | wcohen <wcohen> | 2005-12-12 20:27:00 +0000 |
---|---|---|
committer | wcohen <wcohen> | 2005-12-12 20:27:00 +0000 |
commit | 3513970ea8455dd69926973112d2906010107808 (patch) | |
tree | 341cc580c774b00a49fd603ad517986d0030c2de | |
parent | e15a85a32d285f47be7dd519248e4ce68659dd28 (diff) | |
download | systemtap-steved-3513970ea8455dd69926973112d2906010107808.tar.gz systemtap-steved-3513970ea8455dd69926973112d2906010107808.tar.xz systemtap-steved-3513970ea8455dd69926973112d2906010107808.zip |
Stop additional systemtap probes from collecting data when exit()
occurs.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tapset/logging.stp | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-12-12 Will Cohen <wcohen@redhat.com> + + * tapset/logging.stp (function_exit): Make sure systemtap probes + stop collection additional data. + 2005-12-12 Frank Ch. Eigler <fche@redhat.com> Fix parse tree pretty-printer. diff --git a/tapset/logging.stp b/tapset/logging.stp index d0222a86..54f4c272 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 (); %} |