This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: _stp_pid no longer there?
On Wed, 2007-03-28 at 17:37 +0200, SÃbastien Duguà wrote:
> On Wed, 28 Mar 2007 10:48:36 -0400 Martin Hunt <hunt@redhat.com> wrote:
> > The stp_pid() function in context.stp should work like it used to.
> >
>
> How could it? it just references __stp_pid.
>
> just try a:
>
> stap -vv -p4 -e 'probe begin {printf("staprun pid %d\n", stp_pid())}'
I meant it would work like normal once I fixed it.
I've checked in the fix for newer kernels with debugfs. For older
kernels I will get the patch in later once I have had a chance to test
it.
Martin