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

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jul 9 14:00:00 GMT 2008


------- 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.



More information about the Systemtap mailing list