File Index
Files and directories
Sign in
FILE

kprobes_trampoline.S

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/kernel/probes/kprobes_trampoline.S S
 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
12SYM_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()
20SYM_CODE_END(__kretprobe_trampoline)
~/ Read-only file preview.