syscall.sh / arm / gettid

gettid

get thread identification

sys_gettid(void)
number224 (0xe0)
abicommon
entry pointsys_gettid
sinceLinux 4.10
man pagegettid(2)
sourceelixir.bootlin.com

Registers

registervalue
r7224, the syscall number
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/gettid