prompt script exiting
Frank Ch. Eigler
fche@redhat.com
Mon Dec 12 15:26:00 GMT 2005
"Mao, Bibo" <bibo.mao@intel.com> writes:
> [...] I do know whether judge the value of _stp_exit flag just
> before kprobe/kretprobe handler running. And then when it is set as
> 1, kprobe/kretprobe handler return immediately [...]
The _stp_exit flag could be associated with the translator's overall
session_state flag, which has an STAP_SESSION_STOPPING value. This is
used during that phase when the "end" probes are run, and causes other
probes to return early. The tapset exit() function could set that in
addition to calling the runtime function.
- FChE
More information about the Systemtap
mailing list