Re: FInal kprobes rollup patches

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Harvey Harrison
Date: Saturday, December 15, 2007 - 2:04 am

On Sat, 2007-12-15 at 09:50 +0100, Ingo Molnar wrote:
Sure, I'll go back through and see if the series can be cleaned up a bit
as well as expand the commit message a little bit.


Sorry, I should have predicated the whole series with RFC.  Currently
this is compile-tested only.  There is only the one patch that has
any behavioral change.  I believe the series also pointed out an
existing bug in the 32-bit version...which I've preserved but will
note in the commit messages in the respun series.

In case you're interested, from the patch which unifies the definition
of MAX_INSTRUCTION_SIZE:

memcpy(p->ainsn.insn, p->addr, (MAX_INSN_SIZE + 1) *
sizeof(kprobe_opcode_t));

If you compare this memcpy from arch_prepare_kprobe in 32/64 bit I'm
almost sure the X86_32 version should be

... + sizeof(kprobe_opcode_t)

not

... * sizeof(kprobe_opcode_t)

Cheers,

Harvey

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: FInal kprobes rollup patches, Ingo Molnar, (Sat Dec 15, 1:50 am)
Re: FInal kprobes rollup patches, Harvey Harrison, (Sat Dec 15, 2:04 am)
Re: FInal kprobes rollup patches, Ingo Molnar, (Sat Dec 15, 6:12 am)