kernel read fault using task_state()

David Smith dsmith@redhat.com
Wed Aug 12 14:38:00 GMT 2009


(Note that I've cc'ed the systemtap list)

On 08/12/2009 09:23 AM, Frits Hoogland wrote:
> thank you for the answer!
> 
> unfortunately, there's no function pid2task(), probably because of the
> version of systemtap (0.7.2). any idea how I can lookup the task when
> I use the pid?

You've got several choices:

- grab the pid2task() definition out of current systemtap source (you
can use gitweb:
<http://sources.redhat.com/git/gitweb.cgi?p=systemtap.git;a=summary>)
and stick it in your script

- grab the version of systemtap (0.9.7) going into rhel5.4 betas and
install it on your system

- check out the current version of systemtap and build/install it on
your system

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)



More information about the Systemtap mailing list