This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: Instrumenting context switches
- From: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- To: "Perry Cheng" <perryche at us dot ibm dot com>, <systemtap at sourceware dot org>
- Date: Wed, 29 Nov 2006 17:35:45 -0800
- Subject: RE: Instrumenting context switches
On Wednesday, November 29, 2006 3:26 PM, Perry Cheng wrote:
> Using some example code, I tried to instrument context switching by
> adding a probe to the method __switch_to. Some documentation had
> suggested that certain versions of the systemtap could not handle
> instrumenting context_switch.
The problems with resolving the context_switch function have been fixed
for a while, but there's still sometimes issues accessing the parameters
of inline functions. See bugzilla #1155.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1155
Using __switch_to is not an option on all platforms -- on IA64 it is a
macro, and on x86_64 it is blacklisted (bz2086).
Josh