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]

[Bug tapsets/6732] task_struct parent field removed from RHEL-5 and fedora 9 kernels


------- Additional Comments From dsmith at redhat dot com  2008-07-09 13:59 -------
(In reply to comment #1)
> Also runtime/task_finder.c currently contains this workaround:
> 
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
> #define real_parent parent
> #endif
> 
> Which isn't entirely the correct check.

Since I'm the guilty party with that code, I'll confess.  I now understand that
it isn't the correct fix.

It looks like to me from a quick look through the tapsets that all uses of the
task_struct parent field are in embedded-C code.  I think this means that if we
add an "autoconf" test, such as was done for STAPCONF_HRTIMER_REL, that should
fix the problem.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6732

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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