[Bug tapsets/3634] scheduler.ctxswitch doesn't resolve on x86_64

joshua dot i dot stone at intel dot com sourceware-bugzilla@sourceware.org
Mon Dec 4 21:51:00 GMT 2006


------- Additional Comments From joshua dot i dot stone at intel dot com  2006-12-04 20:09 -------
This is known -- __switch_to was blocked on x86_64 due to bug #2068.  It also
fails on IA64, where __switch_to is a macro.

The only reason that scheduler.ctxswitch exists is because there are still some
problems with accessing parameters in inline functions.  (See bug #1155) 
Otherwise, scheduler.cpu_on and scheduler.cpu_off are the preferred, portable
probe points.

If you only need 'prev', use cpu_off, which fires in the context of the previous
task.  If you need 'next', use cpu_on, which fires in the context of the new task.

If you need both, then unfortunately you'll have to put two probes.  Once bug
#1155 is resolved, then either cpu_on or cpu_off will give you access to both
'prev' and 'next', but until then you'll have to kludge something together.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3634

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