This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
task_struct parent field removed from RHEL-5 and fedora 9 kernels
- From: William Cohen <wcohen at redhat dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 20 May 2008 16:41:13 -0400
- Subject: task_struct parent field removed from RHEL-5 and fedora 9 kernels
I was trying an example script that used the ppid() function on f9. The ppid()
and pexecname() functions in tapset/context.stp and the task_parent() function
in tapset/task.stp use the parent field in task_struct. It appears that the
parent field in task_struct has been removed by linux-2.6-utrace.patch in RHEL-5
and F-9 kernels. All that is left is the real_parent field.
Is is sufficient to use the real_parent field in the place of parent field? Or
is this going to cause issues with other kernels?
-Will