This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/16378] in-kernel utrace problem with 2.6.32: implicit declaration of function 'do_each_thread' in task_finder.c
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 06 Jan 2014 15:38:33 +0000
- Subject: [Bug runtime/16378] in-kernel utrace problem with 2.6.32: implicit declaration of function 'do_each_thread' in task_finder.c
- Auto-submitted: auto-generated
- References: <bug-16378-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16378
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
I took a look at the openvz patch you mentioned in bug #11113. As part of the
sched.h changes in that patch, it does this:
-#define do_each_thread(g, t) \
- for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do
+#define do_each_thread_all(g, t) \
+ for (g = t = &init_task ; (g = t = next_task_all(g)) != &init_task ; )
do
So, the openvz patch is the culprit here. You might try either changing all
references to 'do_each_thread' to 'do_each_thread_all' in systemtap or
#defining do_each_thread() to do_each_thread_all() (in runtime.h).
--
You are receiving this mail because:
You are the assignee for the bug.