* [Bug testsuite/4500] New: Compilation of buildok/task_test.stp fails on ppc64
@ 2007-05-14 9:17 srinivasa at in dot ibm dot com
2007-05-14 9:51 ` [Bug testsuite/4500] " ananth at in dot ibm dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: srinivasa at in dot ibm dot com @ 2007-05-14 9:17 UTC (permalink / raw)
To: systemtap
In systemtap-snapshot 20070512, builok/task_test.stp fails with below reason.
==============================================
/tmp/stapoECuDX/stap_cc104d8cc3585fb32de7686d1744bee5_3066.c: In function
'function_task_cpu':
/tmp/stapoECuDX/stap_cc104d8cc3585fb32de7686d1744bee5_3066.c:531: error: 'struct
task_struct' has no member named 'thread_info'
/tmp/stapoECuDX/stap_cc104d8cc3585fb32de7686d1744bee5_3066.c:531: error: 'struct
task_struct' has no member named 'thread_info'
/tmp/stapoECuDX/stap_cc104d8cc3585fb32de7686d1744bee5_3066.c:531: error: 'struct
task_struct' has no member named 'thread_info'
/tmp/stapoECuDX/stap_cc104d8cc3585fb32de7686d1744bee5_3066.c:531: error: 'struct
task_struct' has no member named 'thread_info'
/tmp/stapoECuDX/stap_cc104d8cc3585fb32de7686d1744bee5_3066.c:531: error: 'struct
task_struct' has no member named 'thread_info'
/tmp/stapoECuDX/stap_cc104d8cc3585fb32de7686d1744bee5_3066.c:531: error: 'struct
task_struct' has no member named 'thread_info'
======================================================
--
Summary: Compilation of buildok/task_test.stp fails on ppc64
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: srinivasa at in dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4500
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64
2007-05-14 9:17 [Bug testsuite/4500] New: Compilation of buildok/task_test.stp fails on ppc64 srinivasa at in dot ibm dot com
@ 2007-05-14 9:51 ` ananth at in dot ibm dot com
2007-05-14 11:56 ` srinivasa at in dot ibm dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ananth at in dot ibm dot com @ 2007-05-14 9:51 UTC (permalink / raw)
To: systemtap
------- Additional Comments From ananth at in dot ibm dot com 2007-05-14 10:51 -------
Another example of an upstream change breaking a testcase. "thread_info" is now
renamed to "stack"
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4500
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64
2007-05-14 9:17 [Bug testsuite/4500] New: Compilation of buildok/task_test.stp fails on ppc64 srinivasa at in dot ibm dot com
2007-05-14 9:51 ` [Bug testsuite/4500] " ananth at in dot ibm dot com
@ 2007-05-14 11:56 ` srinivasa at in dot ibm dot com
2007-07-18 14:29 ` srinivasa at in dot ibm dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: srinivasa at in dot ibm dot com @ 2007-05-14 11:56 UTC (permalink / raw)
To: systemtap
------- Additional Comments From srinivasa at in dot ibm dot com 2007-05-14 12:56 -------
*** Bug 4501 has been marked as a duplicate of this bug. ***
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4500
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64
2007-05-14 9:17 [Bug testsuite/4500] New: Compilation of buildok/task_test.stp fails on ppc64 srinivasa at in dot ibm dot com
2007-05-14 9:51 ` [Bug testsuite/4500] " ananth at in dot ibm dot com
2007-05-14 11:56 ` srinivasa at in dot ibm dot com
@ 2007-07-18 14:29 ` srinivasa at in dot ibm dot com
2007-07-18 17:13 ` fche at redhat dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: srinivasa at in dot ibm dot com @ 2007-07-18 14:29 UTC (permalink / raw)
To: systemtap
------- Additional Comments From srinivasa at in dot ibm dot com 2007-07-18 14:26 -------
Implementation of cpu() should be changed from
=================================================
function cpu:long () %{ /* pure */
THIS->__retvalue = current->thread_info->cpu; /* smp_processor_id()? */
%}
=====================================
to
=================================
function cpu:long () %{ /* pure */
THIS->__retvalue = current_thread_info()->cpu; /* smp_processor_id()? */
%}
==========================
This solves the problem.
Samething has to be done for in all tapsets, which gets information from
thread_info.
Thanks
Srinivasa DS
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4500
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64
2007-05-14 9:17 [Bug testsuite/4500] New: Compilation of buildok/task_test.stp fails on ppc64 srinivasa at in dot ibm dot com
` (2 preceding siblings ...)
2007-07-18 14:29 ` srinivasa at in dot ibm dot com
@ 2007-07-18 17:13 ` fche at redhat dot com
2007-07-19 23:52 ` srinivasa at in dot ibm dot com
2007-09-04 3:24 ` fche at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2007-07-18 17:13 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2007-07-18 14:28 -------
How about plain smp_processor_id() instead? Our probes run in preemption-free mode.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4500
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64
2007-05-14 9:17 [Bug testsuite/4500] New: Compilation of buildok/task_test.stp fails on ppc64 srinivasa at in dot ibm dot com
` (3 preceding siblings ...)
2007-07-18 17:13 ` fche at redhat dot com
@ 2007-07-19 23:52 ` srinivasa at in dot ibm dot com
2007-09-04 3:24 ` fche at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: srinivasa at in dot ibm dot com @ 2007-07-19 23:52 UTC (permalink / raw)
To: systemtap
------- Additional Comments From srinivasa at in dot ibm dot com 2007-07-19 14:08 -------
(In reply to comment #4)
> How about plain smp_processor_id() instead? Our probes run in preemption-free
mode.
That would be a good idea.
Thanks
Srinivasa DS
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4500
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64
2007-05-14 9:17 [Bug testsuite/4500] New: Compilation of buildok/task_test.stp fails on ppc64 srinivasa at in dot ibm dot com
` (4 preceding siblings ...)
2007-07-19 23:52 ` srinivasa at in dot ibm dot com
@ 2007-09-04 3:24 ` fche at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2007-09-04 3:24 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2007-09-04 03:05 -------
This works for me now with cvs systemtap on fedora 7/8 ppc64 (PS3).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
http://sourceware.org/bugzilla/show_bug.cgi?id=4500
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-09-04 3:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-14 9:17 [Bug testsuite/4500] New: Compilation of buildok/task_test.stp fails on ppc64 srinivasa at in dot ibm dot com
2007-05-14 9:51 ` [Bug testsuite/4500] " ananth at in dot ibm dot com
2007-05-14 11:56 ` srinivasa at in dot ibm dot com
2007-07-18 14:29 ` srinivasa at in dot ibm dot com
2007-07-18 17:13 ` fche at redhat dot com
2007-07-19 23:52 ` srinivasa at in dot ibm dot com
2007-09-04 3:24 ` fche at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).