This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: _stp_pid no longer there?
- From: Martin Hunt <hunt at redhat dot com>
- To: Sébastien Dugué <sebastien dot dugue at bull dot net>
- Cc: systemtap <systemtap at sources dot redhat dot com>, Pierre PEIFFER <pierre dot peiffer at bull dot net>
- Date: Wed, 28 Mar 2007 10:48:36 -0400
- Subject: Re: _stp_pid no longer there?
- Organization: Red Hat Inc.
- References: <20070328120810.37633ce8@frecb000686.frec.bull.fr>
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