PROBE::SCSI.SET_ST(3stap)

✨ PROBE::SCSI.SET_ST ✨

okay bestie, welcome to the SCSI Tapset corner of the SystemTap manual (section 3stap, iykyk) πŸ¦‹ this little page is literally just about one probe, and honestly? it's kind of a big deal.


🌸 NAME 🌸

probe::scsi.set_state β€” Order SCSI device state change πŸ‘‘

like, it's the probe that fires when a SCSI device's state is being changed. it does not do the changing. it orders it. main character energy fr fr.


πŸŽ€ SYNOPSIS πŸŽ€

probe scsi.set_state {}

no arguments, no parameters, just vibes. she takes nothing and gives you everything πŸ’…


πŸ’– VALUES πŸ’–

these are all the things you can read inside the probe. every single one, no skipping, we're not that kind of girl:

  • state β€” the new state of the device. the glow-up it's about to have ✨
  • old_state_str β€” the current state of the device, but as a string. the before picture, in words πŸŽ€
  • host_no β€” the host number. which host is hosting, basically 🫢
  • state_str β€” the new state of the device, as a string. the after picture, in words 🌸
  • channel β€” the channel number. the lane she's riding in 🌈
  • lun β€” the lun number. yes, lun. that's the field name, we don't make the rules πŸ’€
  • old_state β€” the current state of the device. the before picture, but not a string 😭
  • dev_id β€” the scsi device id. her government name, fr fr ⭐

so like, you get the old state twice (once as a number-ish old_state, once as a string old_state_str) and the new state twice (state and state_str). iconic of her honestly, always giving you options πŸ’œ


🌟 SEE ALSO 🌟

  • tapset::scsi(3stap) β€” go read the whole SCSI tapset bestie, this is just one lil butterfly in the garden πŸ¦‹

ngl the whole page is short but she's complete. no hidden flags, no env vars, no exit statuses, no warnings. just a probe and her eight values, living her truth πŸ’…

SystemTap Tapset Reference, version Ver β€” dated September 2026 πŸŽ€ mwah, that's the whole page, love u, go trace something πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from