This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/3634] scheduler.ctxswitch doesn't resolve on x86_64
- From: "joshua dot i dot stone at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 4 Dec 2006 20:09:58 -0000
- Subject: [Bug tapsets/3634] scheduler.ctxswitch doesn't resolve on x86_64
- References: <20061204162325.3634.mmlnx@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.