PROBE::STAP.PASS4.END(3stap)

✨ NAME ✨

probe::stap.pass4.end β€” the moment stap finishes pass4, aka when it compiles C code into a kernel module πŸŽ€

So this is one of those staticmarker probe thingies, from the PROBE::STAP.PASS4() manual (section 3stap, bestie, we love a section). Let me put you on πŸ’…


🌸 SYNOPSIS 🌸

probe stap.pass4.end {}

That's it. That's the whole vibe. No args, no fuss, just a lil probe sitting there waiting for pass4 to wrap up πŸ¦‹


πŸ’– VALUES πŸ’–

  • session β€” this one hands you the systemtap_session variable s, and honestly? iconic. it's the whole session state, right there in your probe, ready for you to peek at πŸ‘‘

🧚 DESCRIPTION 🧚

okay so here's the tea β˜• β€” pass4.end fires just before the jump to cleanup, but only if s.last_pass = 4. no cap.

So basically: stap has just done the thing where it compiles the C code into a kernel module, and this probe gets to go off right at that lil window before everything heads off to cleanup. main character energy fr fr 🌈

heads up bestie β€” that condition is written as s.last_pass = 4 in the source, so if you're out here squinting at it wondering if it should be ==, don't come for me, I'm just the messenger πŸ™ˆ

⭐ SEE ALSO ⭐


and that's the whole page, bestie!! 🫢 this was PROBE::STAP.PASS4() β€” manual section 3stap, and no date was ever given on the original, which is very mystery-girl of it honestly 😭 go forth and probe responsibly βœ¨πŸ’–πŸŽ€

πŸ“¦ where this page comes from