PROBE::SCHEDULER.C(3stap)

✨ PROBE::SCHEDULER.C(3stap) ✨

okay bestie, welcome to the Scheduler Tapset section of the SystemTap manual β€” this one is literally called PROBE::SCHEDULER.C and it's about that exact moment when a process is so about to get off the CPU. it's giving "packing up, lights off, leaving the party." πŸŽ€


🌸 NAME 🌸

probe::scheduler.cpu_off β€” Process is about to stop running on a cpu


πŸ¦‹ SYNOPSIS πŸ¦‹

probe scheduler.cpu_off {}

no arguments, no drama, just vibes. πŸ’…


πŸ’– VALUES πŸ’–

here's everything this probe hands you when it fires. memorize it, it's on the test (jk there's no test, but still) ✨

  • task_next β€” the process replacing current. yes, the new main character stepping in as the old one exits stage left. πŸ‘‘
  • idle β€” a boolean indicating whether current is the idle process. so like, is the CPU just chilling with nothing to do? this tells you. 🌈
  • name β€” name of the probe point. it's literally just the name, bestie, it's in the name. 🫢
  • task_prev β€” the process leaving the cpu (same as current). it's the same thing as current, no cap β€” don't get confused, they're twins. πŸ’œ

🧚 CONTEXT 🧚

The process leaving the cpu. that's the whole context, periodt. πŸŽ€


⭐ SEE ALSO ⭐

tapset::scheduler(3stap) β€” go read that one too, iykyk. πŸ’–


and that's a wrap on this page, babes! it came from the SystemTap Tapset Reference, dated September 2026, and yeah the version field in the footer got a lil truncated but we move. slay, go probe some schedulers. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from