Home
last modified time | relevance | path

Searched refs:uprobe_opcode_t (Results 1 – 13 of 13) sorted by relevance

/linux/arch/s390/include/asm/
H A Duprobes.h14 typedef u16 uprobe_opcode_t; typedef
23 uprobe_opcode_t insn[3];
24 uprobe_opcode_t ixol[3];
/linux/include/linux/
H A Duprobes.h195 uprobe_opcode_t *insn, int nbytes, void *data);
200 extern bool is_swbp_insn(uprobe_opcode_t *insn);
201 extern bool is_trap_insn(uprobe_opcode_t *insn);
204 extern int uprobe_write_opcode(struct arch_uprobe *auprobe, struct vm_area_struct *vma, unsigned long vaddr, uprobe_opcode_t,
207 uprobe_opcode_t *insn, int nbytes, uprobe_write_verify_t verify, bool is_register, bool do_update_ref_ctr,
/linux/arch/arm/include/asm/
H A Duprobes.h12 typedef u32 uprobe_opcode_t; typedef
30 uprobe_opcode_t bpinsn;
/linux/arch/x86/kernel/
H A Duprobes.c351 static uprobe_opcode_t insn = UPROBE_SWBP_INSN; in arch_uretprobe_trampoline()
920 static int is_call_insn(uprobe_opcode_t *insn) in is_call_insn()
929 static int verify_insn(struct page *page, unsigned long vaddr, uprobe_opcode_t *new_opcode, in verify_insn()
933 uprobe_opcode_t old_opcode[5]; in verify_insn()
935 uprobe_copy_from_page(page, ctx->base, (uprobe_opcode_t *) &old_opcode, 5); in verify_insn()
968 uprobe_opcode_t int3 = UPROBE_SWBP_INSN; in int3_update()
1047 static bool __is_optimized(uprobe_opcode_t *insn, unsigned long vaddr) in __is_optimized()
1061 uprobe_opcode_t insn[5]; in is_optimized()
1067 return __is_optimized((uprobe_opcode_t *)&insn, vaddr); in is_optimized()
1107 return uprobe_write_opcode(auprobe, vma, vaddr, *(uprobe_opcode_t *)&auprobe->insn, in set_orig_insn()
[all …]
/linux/arch/powerpc/include/asm/
H A Duprobes.h15 typedef u32 uprobe_opcode_t; typedef
/linux/arch/mips/include/asm/
H A Duprobes.h19 typedef u32 uprobe_opcode_t; typedef
/linux/arch/csky/include/asm/
H A Duprobes.h14 typedef u32 uprobe_opcode_t; typedef
/linux/arch/arm64/include/asm/
H A Duprobes.h17 typedef __le32 uprobe_opcode_t; typedef
/linux/arch/loongarch/include/asm/
H A Duprobes.h7 typedef u32 uprobe_opcode_t; typedef
/linux/arch/sparc/include/asm/
H A Duprobes.h14 typedef u32 uprobe_opcode_t; typedef
/linux/kernel/events/
H A Duprobes.c161 bool __weak is_swbp_insn(uprobe_opcode_t *insn) in is_swbp_insn()
175 bool __weak is_trap_insn(uprobe_opcode_t *insn) in is_trap_insn()
194 static int verify_opcode(struct page *page, unsigned long vaddr, uprobe_opcode_t *insn, in verify_opcode()
197 uprobe_opcode_t old_opcode; in verify_opcode()
405 unsigned long insn_vaddr, uprobe_opcode_t *insn, int nbytes, in __uprobe_write()
490 const unsigned long opcode_vaddr, uprobe_opcode_t opcode, in uprobe_write_opcode()
498 const unsigned long insn_vaddr, uprobe_opcode_t *insn, int nbytes, in uprobe_write()
631 *(uprobe_opcode_t *)&auprobe->insn, false); in set_orig_insn()
1114 if (is_trap_insn((uprobe_opcode_t *)&uprobe->arch.insn)) in prepare_uprobe()
1745 static uprobe_opcode_t insn = UPROBE_SWBP_INSN; in arch_uretprobe_trampoline()
[all …]
/linux/arch/csky/kernel/probes/
H A Duprobes.c14 bool is_swbp_insn(uprobe_opcode_t *insn) in is_swbp_insn()
/linux/arch/powerpc/kernel/
H A Duprobes.c26 bool is_trap_insn(uprobe_opcode_t *insn) in is_trap_insn()