This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]