_stp_pid no longer there?

Martin Hunt hunt@redhat.com
Wed Mar 28 14:48:00 GMT 2007


On Wed, 2007-03-28 at 12:08 +0200, Sébastien Dugué wrote:
>   Hi all,
> 
>   I just discovered that the _stp_pid module parameter has just vanished
> from runtime/transport/transport.c.

Sorry, my fault.  I removed the old code and did not check in a
replacement yet.  I'll get it in later today once I've tested on a few
older kernels.  Probably should get something in the testsuite too.

>   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?

The stp_pid() function in context.stp  should work like it used to.

Martin




More information about the Systemtap mailing list