File Index
Files and directories
Sign in
FILE

ptrace-perf-asm.S

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/powerpc/ptrace/ptrace-perf-asm.S GAS
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2
 3#include <ppc-asm.h>
 4
 5.global same_watch_addr_load
 6.global same_watch_addr_trap
 7
 8FUNC_START(same_watch_addr_child)
 9	nop
10same_watch_addr_load:
11	ld 0,0(3)
12	nop
13same_watch_addr_trap:
14	trap
15	blr
16FUNC_END(same_watch_addr_child)
17
18
19.global perf_then_ptrace_load1
20.global perf_then_ptrace_load2
21.global perf_then_ptrace_trap
22
23FUNC_START(perf_then_ptrace_child)
24	nop
25perf_then_ptrace_load1:
26	ld 0,0(3)
27perf_then_ptrace_load2:
28	ld 0,0(4)
29	nop
30perf_then_ptrace_trap:
31	trap
32	blr
33FUNC_END(perf_then_ptrace_child)
~/ Read-only file preview.