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: kernel read fault using task_state()


(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)


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