syscall.sh / ppc64 / gettid

gettid

get thread identification

sys_gettid(void)
number207 (0xcf)
abicommon
entry pointsys_gettid
sinceLinux 5.0
man pagegettid(2)
sourceelixir.bootlin.com

Registers

registervalue
r0207, the syscall number
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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