login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
21
Re: [PATCH] Subject: kprobes-x86: correct post-eip value in post_hander()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ananth N Mavinakayanahalli
Subject:
Re: [PATCH] Subject: kprobes-x86: correct post-eip value in post_hander()
Date: Friday, March 21, 2008 - 4:31 am
On Fri, Mar 21, 2008 at 12:08:04PM +0100, Ingo Molnar wrote:
quoted text
> > * Yakov Lerner <iler.ml@gmail.com> wrote: > > > I was trying to get the address of instruction to be executed next > > after the kprobed instruction. But regs->eip in post_handler() > > contains value which is useless to the user. It's pre-corrected value. > > This value is difficult to use without access to resume_execution(), > > which is not exported anyway. I moved the invocation of post_handler() > > to *after* resume_execution(). Now regs->eip contains meaningful value > > in post_handler(). > > > > I do not think this change breaks any backward-compatibility. To make > > meaning of the old value, post_handler() would need access to > > resume_execution() which is not exported. I have difficulty to > > believe that previous, uncorrected, regs->eip can be meaningfully used > > in post_handler(). > > thanks, i've added your patch to the .26 bucket of x86.git, but it would > be nice to get an Ack/Nack from a kprobes person as well.
Ingo, I've tested Yakov's more comprehensive patch on powerpc too. This has my ack. Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Subject: kprobes-x86: correct post-eip value in po ...
, Yakov Lerner
, (Sun Mar 16, 1:21 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Ananth N Mavinakayan ...
, (Sun Mar 16, 10:19 pm)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Yakov Lerner
, (Mon Mar 17, 3:59 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Ananth N Mavinakayan ...
, (Mon Mar 17, 5:39 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Masami Hiramatsu
, (Mon Mar 17, 3:17 pm)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Ananth N Mavinakayan ...
, (Mon Mar 17, 9:26 pm)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Ingo Molnar
, (Fri Mar 21, 4:08 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Ananth N Mavinakayan ...
, (Fri Mar 21, 4:31 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Ingo Molnar
, (Fri Mar 21, 7:32 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Ananth N Mavinakayan ...
, (Fri Mar 21, 7:51 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ...
, Masami Hiramatsu
, (Fri Mar 21, 4:18 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate