ftrace_test_...rsion_unlock(9)
π ftrace_test_recursion_unlock β the Kernel API Manual page you didn't know you needed
okay so bestie, welcome to the Kernel API Manual β¨ this one's about ftrace_test_recursion_unlock, and honestly it's the closing-act main character of the recursion-testing duo. no cap, it's short, it's sweet, and it's literally the "and that's a wrap" of your ftrace callback π
πΈ NAME πΈ
ftrace_test_recursion_unlock β the function you call when your callback is complete, i.e. the lil' cleanup queen that closes out the recursion test π«Ά
β¨ SYNOPSIS β¨
void ftrace_test_recursion_unlock (int bit );
that's it. one arg, one job, zero drama π
π§ ARGUMENTS π§
bitβ this is the return of a successfulftrace_test_recursion_trylock. like, you got it back from the trylock, and now you hand it right back here. it's giving "you had the key, now give it back" energy π
ngl bestie, "a successful" is doing a lot of heavy lifting in that sentence β it's the value from a trylock that actually succeeded, mkay? π
π¦ DESCRIPTION π¦
This is used at the end of a ftrace callback. that's the vibe. trylock at the start, unlock at the end, bookends, symmetrical, iconic π
like the way that the universe just wants your callbacks balanced?? periodt. start it with the trylock, finish it with this one, and everything stays cute and matched up π
β SEE ALSO β
- Kernel file
./include/linux/trace_recursion.hβ go read it, it's where the magic lives π ftrace_test_recursion_trylock(9)β the other half of the duo, the opener to this closer π¬
and that's the whole page, bestie!! shipped from ./include/linux with an October 2026 stamp on it ποΈπ go forth and unlock your recursion tests responsibly, mwah π§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms