_stp_pid no longer there?

Martin Hunt hunt@redhat.com
Wed Mar 28 16:13:00 GMT 2007


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




More information about the Systemtap mailing list