This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/6732] task_struct parent field removed from RHEL-5 and fedora 9 kernels
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 9 Jul 2008 13:59:49 -0000
- Subject: [Bug tapsets/6732] task_struct parent field removed from RHEL-5 and fedora 9 kernels
- References: <20080709102514.6732.mwielaard@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.