stack_trace_save_user(9)
πΈ NAME πΈ
okay so bestie, welcome to stack_trace_save_user(9) from the Kernel API Manual β the lil kernel API that does exactly what it says: Save a user space stack trace into a storage array. no cap, thatβs the whole vibe: grab that user space stack trace and tuck it into your array. π
β¨ SYNOPSIS β¨
unsigned int stack_trace_save_user (unsigned long *store , unsigned int
size );
π ARGUMENTS π
storeβ Pointer to storage array. this is the array, bestie β the place where the trace entries get stored. π¦sizeβ Size of the storage array. itβs literally how big yourstorearray is, so the function knows the limit. π
π RETURN π
Number of trace entries stored. thatβs the count of trace entries that got saved, slay. β¨
π¦ SEE ALSO π¦
Kernel file ./kernel/stacktrace.c, and these iconic little references:
stack_trace_print(9)stack_trace_snprint(9)stack_trace_save(9)stack_trace_save_tsk(9)stack_trace_save_regs(9)stack_trace_save_tsk_reliable(9)stack_trace_save(9)stack_trace_save_tsk(9)stack_trace_save_regs(9)stack_trace_save_tsk_reliable(9)filter_irq_stacks(9)
xoxo, signed off by the ./kernel source π October 2026, still repping stack_trace_save_user(9) β¨
π¦ 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