task_struct parent field removed from RHEL-5 and fedora 9 kernels

William Cohen wcohen@redhat.com
Tue May 20 22:59:00 GMT 2008


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



More information about the Systemtap mailing list