cpu() in context.stp

Wenji Huang wenji.huang@oracle.com
Wed Aug 15 19:26:00 GMT 2007


Hi,

  Because thread_info is renamed to stack since kernel 2.6.22, cpu() and 
cpuid() fail in compiling.

  So need to update them.  Currently inline function task_cpu() could be 
a candidate.

  If error or objections, please correct me for good committing.

Regards,
Wenji


<http://www.oracle.com/cdc/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: context.patch
Type: text/x-patch
Size: 517 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070815/45370510/attachment.bin>


More information about the Systemtap mailing list