trace_dump_stack(9)
β¨ NAME β¨
trace_dump_stack β the way to record a stack back trace in the trace buffer, no cap π
So basically the manual you're looking at is trace_dump_stack(9) from the Kernel API Manual, and bestie, it's a tiny one β but every bit of it matters, so let's go π«Ά
π SYNOPSIS π
void trace_dump_stack (int skip );
That's the whole call, that's the whole vibe β¨
π ARGUMENTS π
skipβ the number of functions to skip. Like, the helper handlers get skipped over, okay? It's giving "move, I'm not in the photo" π
π SEE ALSO π
Kernel file ./kernel/trace/trace.c β and also, hi, here's the whole friend group of related calls, lowkey iconic π
trace_array_put(9)tracing_is_enabled(9)tracing_on(9)tracing_snapshot(9)tracing_alloc_snapshot(9)tracer_tracing_disable(9)tracer_tracing_enable(9)tracing_off(9)tracer_tracing_is_on(9)tracing_is_on(9)register_tracer(9)tracing_start(9)tracing_stop(9)trace_buffered_event_enable(9)trace_buffered_event_disable(9)ignore_event(9)trace_adjust_address(9)tracing_update_buffers(9)trace_user_fault_destroy(9)trace_user_fault_init(9)trace_user_fault_get(9)trace_user_fault_put(9)trace_user_fault_read(9)err_pos(9)tracing_log_err(9)trace_array_get_by_name(9)tracing_init_dentry(9)
Go read them, fr fr β this one page is like two lines of lore and then a whole contact list of tracing functions π
That's it, that's the page, mwah π β this one dropped from ./kernel/trace in October 2026, and yeah, that's the whole sign-off bestie, go trace something pretty π¦πΈ
π¦ 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