stm_source_link_drop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual entry for stm_source_link_drop(9) β€” the little function that says β€œbye-bye link” to your stm_source. it's giving cleanup era, no cap. ✨


πŸ’– NAME πŸ’–

  • stm_source_link_drop β€” detach stm_source from its stm device. literally the unlink button, periodt.

✨ SYNOPSIS ✨

void stm_source_link_drop (struct stm_source_device *src );

🫢 ARGUMENTS 🫢

  • src β€” the stm_source device. this is the source bestie that's getting detached, okayyy.

🌸 DESCRIPTION 🌸

Unlinking means disconnecting from source's STM device. after this, writes will be unsuccessful until it is linked to a new STM device. so yeah, no writes until you find a new STM device to link up with β€” the vibe check is strict. πŸ’€

This will happen on "stm_source_link" sysfs attribute write to undo the existing link (if any), or on the linked STM device's de-registration. so it's either you writing to that sysfs attribute to undo the link, or the linked STM device getting de-registered β€” both paths lead here. πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯


that's the whole page, bestie 🫢 source/version: ./drivers/hwtracing/stm Β· date: October 2026 Β· page: stm_source_link_drop(9) β€” mwah πŸ’‹

πŸ“¦ where this page comes from