git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
linux
/
kprobes.h
diff --git
a/include/linux/kprobes.h
b/include/linux/kprobes.h
index
172b7f4
..
f20c163
100644
(file)
--- a/
include/linux/kprobes.h
+++ b/
include/linux/kprobes.h
@@
-64,7
+64,7
@@
struct kprobe {
kprobe_opcode_t opcode;
/* copy of the original instruction */
kprobe_opcode_t opcode;
/* copy of the original instruction */
-
kprobe_opcode_t insn[MAX_INSN_SIZE]
;
+
struct arch_specific_insn ainsn
;
};
/*
};
/*
@@
-94,7
+94,9
@@
static inline int kprobe_running(void)
return kprobe_cpu == smp_processor_id();
}
return kprobe_cpu == smp_processor_id();
}
-extern void arch_prepare_kprobe(struct kprobe *p);
+extern int arch_prepare_kprobe(struct kprobe *p);
+extern void arch_copy_kprobe(struct kprobe *p);
+extern void arch_remove_kprobe(struct kprobe *p);
extern void show_registers(struct pt_regs *regs);
/* Get the kprobe at this addr (if any). Must have called lock_kprobes */
extern void show_registers(struct pt_regs *regs);
/* Get the kprobe at this addr (if any). Must have called lock_kprobes */