stm_source_u...ister_device(9)
π stm_source_unregister_device(9) β like, the Kernel API Manual edition π
okay bestie, listen up, because this one is short but it's literally the cleanup queen of the STM source world. we're in the Kernel API Manual, section 9, and the vibe is "bye bye device" β¨
π¦ NAME
stm_source_unregister_device β unregister an stm_source device π«
like... it un-registers it. that's the whole job. and it ate. π
β¨ SYNOPSIS
void stm_source_unregister_device (struct stm_source_data *data );
no return value, no drama, just vibes and a void. πΈ
π ARGUMENTS
dataβ the device description that was used to register the device π«Ά literally the same description you handed over when you registered it, bestie. don't be out here inventing new ones, iykyk.
π DESCRIPTION
This will remove a previously created stm_source device from the system.
and that's it. that's the paragraph. it's giving "short and iconic". no cap, this function just takes the device you made earlier and goes "you don't have to go home but you can't stay here" π β¨
lowkey important: it's removing a device that was previously created β so like, there was a stm_source device, and now there isn't. the way that works is not our problem today π§
π SEE ALSO
bestie the friend group is right here, go say hi π
- 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_link_drop(9)stm_source_register_device(9)
and that's the whole page, bestie π this masterpiece lives in ./drivers/hwtracing/stm, dated October 2026, and honestly? iconic of it. go unregister something responsibly πβ¨π¦
π¦ 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