This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: history of one ia64 kprobes patch
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: systemtap at sources dot redhat dot com
- Date: 29 Mar 2007 20:34:51 -0400
- Subject: Re: history of one ia64 kprobes patch
- References: <20070330002105.GC26915@redhat.com>
I wrote:
> Once upon a time, about two years ago, a patch went into the kernel
> for rejecting some kprobes placements in ia64.[...] This test is in
> RHEL5 (inherited from 2.6.18), but does not appear in the current
> git tree, and I can't seem to find when/why it came back out. [...]
Never mind. Of course, git knows the answer:
Commit: 08ed38b68099f2a492196414b08a7f5dd8dc3537
Author: Tony Luck <tony.luck@intel.com> Tue, 14 Nov 2006 09:33:38 -0800
[IA64] enable trap code on slot 1
Because slot 1 of one instr bundle crosses border of two consecutive
8-bytes, kprobe on slot 1 is disabled. This patch enables kprobe on
slot1, it only replaces higher 8-bytes of the instruction bundle and
changes the exception code to ignore the low 12 bits of the break
number (which is across the border in the lower 8-bytes of the bundle).
For those instructions which must execute regardless qp bits,
kprobe on slot 1 is still disabled.
Signed-off-by: bibo,mao <bibo.mao@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
- FChE