STRUCT CALL_RETURN_PROCESSOR(9)
π struct call_return_processor β Kernel API Manual energy β¨
okay so bestie, welcome to the Kernel API Manual β this little page is all about struct call_return_processor, and no cap, the whole job of this thing is literally just: provide a call-back to consume call-return information. That's it. That's the vibe. It's a struct whose entire main-character arc is handing your callback some call-return tea so you can sip it. π
β¨ NAME β¨
struct call_return_processor β provides a call-back to consume call-return information. fr fr, that's the whole pitch. π«Ά
π¦ SYNOPSIS π¦
struct call_return_processor {
struct call_path_root *cpr;
int (*process)(struct call_return *cr, u64 *parent_db_id, void *data);
void *data;
};
look at her. iconic. three members, zero drama (mostly). π
πΈ Members πΈ
cprβ the call path root. it's the root of the call path situation, standing there being all root-y. πprocessβ the call-back that accepts call/return information. this is the main event, the callback, the one who actually gets handed the tea. πdataβ anonymous data for call-back. it's just vibes and a pointer, passed along for your callback to do whatever it wants with. no questions asked. π
β SEE ALSO β
- Kernel file
./tools/perf/util/thread-stack.h struct call_return(9)β go read this one next bestie, they're literally linked π
okay that's the whole page, you ate that. stay hydrated, go read your call-return info responsibly π
sign-off time: this lil beauty lives down in ./tools/perf/util, and the version of record is dated October 2026 β the header up top reads struct call_...rn_processor(9) (yes the truncation is canon, don't come for her) and the footer calls her struct call_...rn_processor(9) too. 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