tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S

Source file repositories/reference/linux-study-clean/tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S

File Facts

System
Linux kernel
Corpus path
tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S
Extension
.S
Size
395 bytes
Lines
31
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

.globl _start
_start:
	mov	x0, 0x0000ffff
	mov	x1, xzr
loop:
	nop
	nop
	cbnz	x1, noskip
	nop
	nop
	adrp	x2, skip
	add 	x2, x2, :lo12:skip
	br	x2
	nop
	nop
noskip:
	nop
	nop
skip:
	sub	x0, x0, 1
	cbnz	x0, loop

	mov	x0, #0
	mov	x8, #93 // __NR_exit syscall
	svc	#0

.section .note.GNU-stack, "", @progbits

Annotation

Implementation Notes