find_frame_creation(9)
π find_frame_creation(9) π
okay bestie, welcome to the Kernel API Manual β weβre doing stack-frame detective work today, and yes, itβs giving very main-character energy πβ¨
πΈ NAME πΈ
find_frame_creation β Search backward to find the instruction that creates the stack frame (hopefully, for the same function the initial PC is in).
π SYNOPSIS π
unsigned long * find_frame_creation (unsigned long *pc );
π¦ ARGUMENTS π¦
pcβ Program counter at which to begin the search
β¨ DESCRIPTION β¨
So hereβs the vibe: you start at pc and search backward to find where the stack frame gets created. Iconic little archaeology moment, honestly πΊπ
- Return: PC at which stack frame creation occurs;
NULLif this cannot be found, i.e. a leaf function.
No cap, that NULL case is literally the βwelp, leaf functionβ result ππΏ
π SEE ALSO π
- Kernel file
./arch/microblaze/kernel/unwind.c get_frame_size(9)lookup_prev_stack_frame(9)unwind_trap(9)microblaze_unwind_inner(9)microblaze_unwind(9)
mwah π this little page comes from ./arch/microblaze/kernel, dated October 2026 β source/version and date secured, periodt π«Άπ
π¦ 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