Instrumenting context-switching
Masami Hiramatsu
mhiramat@redhat.com
Wed Oct 31 16:48:00 GMT 2007
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
More information about the Systemtap
mailing list