public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Stone, Joshua I" <joshua.i.stone@intel.com>
To: "Perry Cheng" <perryche@us.ibm.com>, 	<systemtap@sourceware.org>
Subject: RE: Instrumenting context switches
Date: Thu, 30 Nov 2006 15:31:00 -0000	[thread overview]
Message-ID: <C56DB814FAA30B418C75310AC4BB279DFFA2F1@scsmsx413.amr.corp.intel.com> (raw)

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

             reply	other threads:[~2006-11-30  1:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 15:31 Stone, Joshua I [this message]
     [not found] <OFBBDFEA36.CA571100-ON85257237.00006111-85257237.0000676B@mck.us.ray.com>
2006-12-01  3:14 ` Dave Sperry
     [not found] <OFB78608CD.65116F14-ON85257236.0073959D-85257236.00738AAF@mck.us.ray.com>
2006-12-01  0:25 ` Dave Sperry
2006-12-01  3:12   ` Perry Cheng
  -- strict thread matches above, loose matches on Subject: below --
2006-11-30 18:10 Stone, Joshua I
2006-11-30  1:35 Perry Cheng
2006-11-30  1:41 ` Frank Ch. Eigler
2006-11-30 18:22 ` Martin Hunt
2006-11-30 22:01   ` Perry Cheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C56DB814FAA30B418C75310AC4BB279DFFA2F1@scsmsx413.amr.corp.intel.com \
    --to=joshua.i.stone@intel.com \
    --cc=perryche@us.ibm.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).