stack_tracer_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


that’s the whole vibe πŸ’œ signed off from ./include/linux, dated October 2026, page stack_tracer_disable(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from