From: Masami Hiramatsu <mhiramat@redhat.com>
To: Mike Mason <mmlnx@us.ibm.com>
Cc: Perry Cheng <perryche@us.ibm.com>, systemtap@sources.redhat.com
Subject: Re: Instrumenting context-switching
Date: Wed, 31 Oct 2007 16:48:00 -0000 [thread overview]
Message-ID: <4728B1B6.5030104@redhat.com> (raw)
In-Reply-To: <4728AE84.2090608@us.ibm.com>
Mike Mason wrote:
> What kernel version are you using? If your using 2.6.24-rc1 then kernel markers are available.
> You can place a static marker (as shown in the patch below), rebuild and reboot the kernel,
> then access the probe point via a SystemTap script (as shown in the script below the patch).
FYI, from 2.6.24-rc1, you can instrument kprobe on __switch_to even if it runs on x86-64,
because the kretprobe-blacklist is merged.
Thanks,
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com, masami.hiramatsu.pt@hitachi.com
next prev parent reply other threads:[~2007-10-31 16:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 13:42 Perry Cheng
2007-10-31 16:34 ` Mike Mason
2007-10-31 16:48 ` Masami Hiramatsu [this message]
2007-10-31 19:04 ` Stone, Joshua I
2007-10-31 19:19 ` Stone, Joshua I
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=4728B1B6.5030104@redhat.com \
--to=mhiramat@redhat.com \
--cc=mmlnx@us.ibm.com \
--cc=perryche@us.ibm.com \
--cc=systemtap@sources.redhat.com \
/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).