diff options
Diffstat (limited to 'include/linux/kprobes.h')
| -rw-r--r-- | include/linux/kprobes.h | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h index c03f2dc933de..669756bc20a2 100644 --- a/include/linux/kprobes.h +++ b/include/linux/kprobes.h  | |||
| @@ -68,6 +68,9 @@ struct kprobe { | |||
| 68 | /* list of kprobes for multi-handler support */ | 68 | /* list of kprobes for multi-handler support */ | 
| 69 | struct list_head list; | 69 | struct list_head list; | 
| 70 | 70 | ||
| 71 | /* Indicates that the corresponding module has been ref counted */ | ||
| 72 | unsigned int mod_refcounted; | ||
| 73 | |||
| 71 | /*count the number of times this probe was temporarily disarmed */ | 74 | /*count the number of times this probe was temporarily disarmed */ | 
| 72 | unsigned long nmissed; | 75 | unsigned long nmissed; | 
| 73 | 76 | ||
| @@ -149,11 +152,10 @@ struct kretprobe_instance { | |||
| 149 | }; | 152 | }; | 
| 150 | 153 | ||
| 151 | extern spinlock_t kretprobe_lock; | 154 | extern spinlock_t kretprobe_lock; | 
| 155 | extern struct semaphore kprobe_mutex; | ||
| 152 | extern int arch_prepare_kprobe(struct kprobe *p); | 156 | extern int arch_prepare_kprobe(struct kprobe *p); | 
| 153 | extern void arch_copy_kprobe(struct kprobe *p); | ||
| 154 | extern void arch_arm_kprobe(struct kprobe *p); | 157 | extern void arch_arm_kprobe(struct kprobe *p); | 
| 155 | extern void arch_disarm_kprobe(struct kprobe *p); | 158 | extern void arch_disarm_kprobe(struct kprobe *p); | 
| 156 | extern void arch_remove_kprobe(struct kprobe *p); | ||
| 157 | extern int arch_init_kprobes(void); | 159 | extern int arch_init_kprobes(void); | 
| 158 | extern void show_registers(struct pt_regs *regs); | 160 | extern void show_registers(struct pt_regs *regs); | 
| 159 | extern kprobe_opcode_t *get_insn_slot(void); | 161 | extern kprobe_opcode_t *get_insn_slot(void); | 
