Re: [PATCH v2 2.6.38-rc8-tip 3/20] 3: uprobes: Breakground pagereplacement.

From: Steven Rostedt
Date: Mon Mar 14 2011 - 11:29:18 EST


On Mon, 2011-03-14 at 19:04 +0530, Srikar Dronamraju wrote:
> +/*
> + * Most architectures can use the default versions of @read_opcode(),
> + * @set_bkpt(), @set_orig_insn(), and @is_bkpt_insn();
> + *
> + * @set_ip:
> + * Set the instruction pointer in @regs to @vaddr.
> + * @analyze_insn:
> + * Analyze @user_bkpt->insn. Return 0 if @user_bkpt->insn is an
> + * instruction you can probe, or a negative errno (typically -%EPERM)
> + * otherwise. Determine what sort of

sort of ... what?

-- Steve

> + * @pre_xol:
> + * @post_xol:
> + * XOL-related fixups @post_xol() (and possibly @pre_xol()) will need
> + * to do for this instruction, and annotate @user_bkpt accordingly.
> + * You may modify @user_bkpt->insn (e.g., the x86_64 port does this
> + * for rip-relative instructions).
> + */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/