[Bug testsuite/4500] Compilation of buildok/task_test.stp fails on ppc64

srinivasa at in dot ibm dot com sourceware-bugzilla@sourceware.org
Wed Jul 18 14:29:00 GMT 2007


------- 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.



More information about the Systemtap mailing list