This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64
- From: "srinivasa at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Jul 2007 14:26:02 -0000
- Subject: [Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64
- References: <20070514101657.4500.srinivasa@in.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.