stack_tracer_disable(9)
π stack_tracer_disable(9)
okay bestie, welcome to the Kernel API Manual β this one is short but she is important π«Ά
πΈ NAME πΈ
stack_tracer_disable β temporarily disable the stack tracer β¨
π SYNOPSIS π
void stack_tracer_disable (void );
π¦ ARGUMENTS π¦
voidβ no arguments. literally zero. not a single one. π
π DESCRIPTION π
So there are a few locations (namely in RCU) where stack tracing cannot be executed, periodt. This function is what you call to disable stack tracing during those critical sections. slay. π
β οΈ important bestie: this function must be called with preemption or interrupts disabled, and stack_tracer_enable must be called shortly after while preemption or interrupts are still disabled. no cap, donβt skip that part. π
π SEE ALSO π
Kernel file ./include/linux/ftrace.h:
stack_tracer_enable(9)ftrace_get_symaddr(9)ftrace_make_nop(9)ftrace_need_init_nop(9)ftrace_init_nop(9)ftrace_make_call(9)ftrace_modify_call(9)
thatβs the whole vibe π signed off from ./include/linux, dated October 2026, page stack_tracer_disable(9) β 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