tools/testing/selftests/powerpc/ptrace/ptrace-perf-asm.S

Source file repositories/reference/linux-study-clean/tools/testing/selftests/powerpc/ptrace/ptrace-perf-asm.S

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/powerpc/ptrace/ptrace-perf-asm.S
Extension
.S
Size
549 bytes
Lines
34
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: tools
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#include <ppc-asm.h>

.global same_watch_addr_load
.global same_watch_addr_trap

FUNC_START(same_watch_addr_child)
	nop
same_watch_addr_load:
	ld 0,0(3)
	nop
same_watch_addr_trap:
	trap
	blr
FUNC_END(same_watch_addr_child)


.global perf_then_ptrace_load1
.global perf_then_ptrace_load2
.global perf_then_ptrace_trap

FUNC_START(perf_then_ptrace_child)
	nop
perf_then_ptrace_load1:
	ld 0,0(3)
perf_then_ptrace_load2:
	ld 0,0(4)
	nop
perf_then_ptrace_trap:
	trap
	blr
FUNC_END(perf_then_ptrace_child)

Annotation

Implementation Notes