_stp_pid no longer there?
Frank Ch. Eigler
fche@redhat.com
Wed Mar 28 14:20:00 GMT 2007
SÚbastien DuguÚ <sebastien.dugue@bull.net> writes:
> I just discovered that the _stp_pid module parameter has just
> vanished from runtime/transport/transport.c.
Yes, it seems to have gone away with the recent rewrite of the area.
This might have been because
> What is supposed to replace it or how one is supposed to retreive
> staprun's pid from within a script as it is used by tapsets?
Using variables defined by runtime C code directly is not appropriate.
Such code is considered to be a private interface between the
translator, the provided tapsets, and the runtime, and thus may change
frequently.
However, I agree that it is sometimes desirable to filter out events
caused caused by staprun's activities, so a properly documented and
tapset-exported version of that pid number should come back.
- FChE
More information about the Systemtap
mailing list