PROBE::SCHEDULER.C(3stap)

πŸ’– NAME πŸ’–

probe::scheduler.cpu_on β€” bestie, this is the probe that fires when a process is beginning execution on a cpu. Like, the moment it gets handed the aux cord and starts vibing on that core. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

probe scheduler.cpu_on {}

No args, no drama, she just shows up. Periodt.


🌸 VALUES 🌸

Okay so when this probe pops off, you get these lil variables handed to you like friendship bracelets:

  • idle β€” a boolean that tells you whether current is the idle process. So like, is this cpu literally doing nothing rn or is it serving? 🫢
  • name β€” the name of the probe point. Yes ma'am, that's just her name. πŸ’…
  • task_prev β€” the process that was previously running on this cpu. The ex, if you will. The one who had the cpu before the glow-up. 😭

πŸŽ€ CONTEXT πŸŽ€

The resuming process. That's the main character here β€” the one waking back up and getting on the cpu. main character energy fr fr πŸ‘‘


🌈 SEE ALSO 🌈


and that's the whole page, no cap πŸ’– this was the SystemTap Tapset Reference, September 2026 era πŸ—“οΈβœ¨

πŸ“¦ where this page comes from