| Subject | Re: [PATCH v2 2.6.38-rc8-tip 3/20] 3: uprobes: Breakground page replacement. | From | Steven Rostedt <> | Date | Mon, 14 Mar 2011 11:29:06 -0400 |
| |
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). > + */
|