_stp_pid no longer there?

Sébastien Dugué sebastien.dugue@bull.net
Wed Mar 28 10:51:00 GMT 2007


On Wed, 28 Mar 2007 12:27:46 +0200 Andreas Kostyrka <andreas@kostyrka.org> wrote:

> * Sébastien Dugué <sebastien.dugue@bull.net> [070328 12:27]:
> > 
> >   Hi all,
> > 
> >   I just discovered that the _stp_pid module parameter has just vanished
> > from runtime/transport/transport.c.
> > 
> >   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?
> pid() ?
> 

  I don't think so, unless I'm missing something, as far as I can tell pid()
returns current->tgid.

  Sébastien.



More information about the Systemtap mailing list