This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: _stp_pid no longer there?
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.