This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]