diff options
| author | Ingo Molnar <mingo@kernel.org> | 2012-12-08 09:50:23 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2012-12-08 09:51:10 -0500 |
| commit | 7e0dd574cd6b1bcc818ed4251e5ceda7d8bee08f (patch) | |
| tree | 04f5630e361083ab53da43a46d6c47a52e8b87ca /include/linux | |
| parent | f0b9abfb044649bc452fb2fb975ff2fd599cc6a3 (diff) | |
| parent | 32cdba1e05418909708a17e52505e8b2ba4381d1 (diff) | |
Merge branch 'uprobes/core' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc into perf/core
Pull uprobes fixes, cleanups and preparation for the ARM port from Oleg Nesterov.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/uprobes.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index 24594571c5a..4f628a6fc5b 100644 --- a/include/linux/uprobes.h +++ b/include/linux/uprobes.h | |||
| @@ -97,12 +97,12 @@ extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_con | |||
| 97 | extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); | 97 | extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); |
| 98 | extern int uprobe_mmap(struct vm_area_struct *vma); | 98 | extern int uprobe_mmap(struct vm_area_struct *vma); |
| 99 | extern void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end); | 99 | extern void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end); |
| 100 | extern void uprobe_start_dup_mmap(void); | ||
| 101 | extern void uprobe_end_dup_mmap(void); | ||
| 100 | extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm); | 102 | extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm); |
| 101 | extern void uprobe_free_utask(struct task_struct *t); | 103 | extern void uprobe_free_utask(struct task_struct *t); |
| 102 | extern void uprobe_copy_process(struct task_struct *t); | 104 | extern void uprobe_copy_process(struct task_struct *t); |
| 103 | extern unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs); | 105 | extern unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs); |
| 104 | extern void __weak arch_uprobe_enable_step(struct arch_uprobe *arch); | ||
| 105 | extern void __weak arch_uprobe_disable_step(struct arch_uprobe *arch); | ||
| 106 | extern int uprobe_post_sstep_notifier(struct pt_regs *regs); | 106 | extern int uprobe_post_sstep_notifier(struct pt_regs *regs); |
| 107 | extern int uprobe_pre_sstep_notifier(struct pt_regs *regs); | 107 | extern int uprobe_pre_sstep_notifier(struct pt_regs *regs); |
| 108 | extern void uprobe_notify_resume(struct pt_regs *regs); | 108 | extern void uprobe_notify_resume(struct pt_regs *regs); |
| @@ -129,6 +129,12 @@ static inline void | |||
| 129 | uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end) | 129 | uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end) |
| 130 | { | 130 | { |
| 131 | } | 131 | } |
| 132 | static inline void uprobe_start_dup_mmap(void) | ||
| 133 | { | ||
| 134 | } | ||
| 135 | static inline void uprobe_end_dup_mmap(void) | ||
| 136 | { | ||
| 137 | } | ||
| 132 | static inline void | 138 | static inline void |
| 133 | uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) | 139 | uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) |
| 134 | { | 140 | { |
