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]

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


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