diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-09-30 20:11:45 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2012-10-07 21:19:42 +0200 |
commit | cb9a19fe4aa51afa34786bd383e6614fa0083d58 (patch) | |
tree | e85fac9d3a69707cd9c3a98361f5cba845d5d260 /include | |
parent | 142b18ddc81439acda4bc4231b291e99fe67d507 (diff) | |
download | linux-cb9a19fe4aa51afa34786bd383e6614fa0083d58.tar.gz linux-cb9a19fe4aa51afa34786bd383e6614fa0083d58.tar.bz2 linux-cb9a19fe4aa51afa34786bd383e6614fa0083d58.zip |
uprobes: Introduce prepare_uprobe()
Preparation. Extract the copy_insn/arch_uprobe_analyze_insn code
from install_breakpoint() into the new helper, prepare_uprobe().
And move uprobe->flags defines from uprobes.h to uprobes.c, nobody
else can use them anyway.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/uprobes.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index 18d839da6517..24594571c5a3 100644 --- a/include/linux/uprobes.h +++ b/include/linux/uprobes.h @@ -35,16 +35,6 @@ struct inode; # include <asm/uprobes.h> #endif -/* flags that denote/change uprobes behaviour */ - -/* Have a copy of original instruction */ -#define UPROBE_COPY_INSN 0x1 - -/* Dont run handlers when first register/ last unregister in progress*/ -#define UPROBE_RUN_HANDLER 0x2 -/* Can skip singlestep */ -#define UPROBE_SKIP_SSTEP 0x4 - struct uprobe_consumer { int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs); /* |