blob: 1e2c66bc6c789ad26a8a2578ce9bcbe03a594309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _ARM_SWAP_UPROBES_H
#define _ARM_SWAP_UPROBES_H
struct kprobe;
struct pt_regs;
struct task_struct;
static inline void dbi_arch_uprobe_return(void)
{
}
int arch_prepare_uprobe(struct uprobe *up, struct hlist_head *page_list, int atomic);
int setjmp_upre_handler(struct kprobe *p, struct pt_regs *regs);
static inline int longjmp_break_uhandler(struct kprobe *p, struct pt_regs *regs)
{
return 0;
}
void arch_prepare_uretprobe_hl(struct uretprobe_instance *ri, struct pt_regs *regs);
unsigned long arch_get_trampoline_addr(struct kprobe *p, struct pt_regs *regs);
void arch_set_orig_ret_addr(unsigned long orig_ret_addr, struct pt_regs *regs);
int swap_arch_init_uprobes(void);
void swap_arch_exit_uprobes(void);
#endif /* _ARM_SWAP_UPROBES_H */
|