stm_source_link_drop(9)
π stm_source_link_drop(9) π
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β detachstm_sourcefrom itsstmdevice. literally the unlink button, periodt.
β¨ SYNOPSIS β¨
void stm_source_link_drop (struct stm_source_device *src );
π«Ά ARGUMENTS π«Ά
srcβ thestm_sourcedevice. 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 π₯
- Kernel file
./drivers/hwtracing/stm/core.c stm_find_device(9)stm_put_device(9)stm_data_write(9)stm_source_link_add(9)__stm_source_link_drop(9)stm_source_register_device(9)stm_source_unregister_device(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms