Debian Codegraph @

arch/arm64/kernel/probes/kprobes_trampoline.S

raw
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * trampoline entry and return code for kretprobes.
4 */
5
6 #include <linux/linkage.h>
7 #include <asm/asm-bug.h>
8 #include <asm/assembler.h>
9
10 .text
11
12 SYM_CODE_START(__kretprobe_trampoline)
13 /*
14 * Trigger a breakpoint exception. The PC will be adjusted by
15 * kretprobe_brk_handler(), and no subsequent instructions will
16 * be executed from the trampoline.
17 */
18 brk #KRETPROBES_BRK_IMM
19 ASM_BUG()
20 SYM_CODE_END(__kretprobe_trampoline)