This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: x86_64 kprobes wart removal
- From: Roland McGrath <roland at redhat dot com>
- To: Jim Keniston <jkenisto at us dot ibm dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Thu, 7 Apr 2005 18:56:43 -0700
- Subject: Re: x86_64 kprobes wart removal
> This email is for x86_64 kprobes wonks. Remember get_insn_slot() and
> free_insn_slot()? These functions are a constant headache because they
> can sleep.
I don't understand why this is a problem. This is only {un,}register_kprobe
that might block, not anything involved in running a probe.
> - When it comes time to single-step an instruction, just copy the
> instruction from the kprobe object to the executable page.
Possibly an icache nightmare.