prompt script exiting

William Cohen wcohen@redhat.com
Mon Dec 12 20:22:00 GMT 2005


Frank Ch. Eigler wrote:
> Hi -
> 
> wcohen wrote:
> 
> 
>>That [systemtap_session change] sounds like it would operate in the
>>manner that people would expect. [...]
> 
> 
> Yeah.  Would you mind testing it and committing it if it works?
> 
> 
>>What happens if there are two scripts running? Is this flag local to
>>the script or a global? [...]
> 
> 
> "global" in the systemtap sense means shared amongst probe handlers of
> the same systemtap session.  There is no "global" data in the sense of
> kernel-wide at all, except perhaps in kprobes internals.
> 
> - FChE

Here is a one-liner that appears to fix the problem. 
systemtap.samples/syscalls2.exp works when it is installed.

2005-12-12  Will Cohen  <wcohen@redhat.com>

	* tapset/logging.stp (function_exit): Make sure systemtap
	probes stop collection additional data.



-Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quickstop.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20051212/c0e91f2f/attachment.bin>


More information about the Systemtap mailing list