tm_cgpr_active(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tm_cgpr_active(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” this one's a single function from the powerpc ptrace corner of the kernel, and it's literally so specific. let's get into it ✨


✨ NAME ✨

tm_cgpr_active β€” get the active number of registers in CGPR πŸ’…


🌸 SYNOPSIS 🌸

int tm_cgpr_active (struct task_struct *target , const struct
       user_regset *regset );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • target β€” the target task. yep, the task you're looking at πŸ‘€
  • regset β€” the user regset structure. the regset vibes, if you will.

πŸ’– DESCRIPTION πŸ’–

so this function checks for the active number of available registers in the transaction checkpointed GPR category. that's it, that's the whole job β€” it's a little vibe check on how many registers are actually live in there 🫢

(also ngl the original spells it "regisers" β€” iconique typo, but you know what it means πŸ’€)


πŸ”₯ SEE ALSO πŸ”₯

like a whole little friend group of tm_* functions, and honestly? they ate πŸ‘‘


and that's the page, bestie!! this one lives in ./arch/powerpc/kernel/ptrace and the date on the tin is October 2026 β€” so go forth and check those CGPR registers, ily, mwah πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from