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 runtime/16378] in-kernel utrace problem with 2.6.32: implicit declaration of function 'do_each_thread' in task_finder.c


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.


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