stm_data_write(9)
β¨ stm_data_write(9) β¨
okay so bestie, welcome to the Kernel API Manual β today's main character is stm_data_write(9), and her whole vibe is βsend the given payload as data packetsβ πβ¨ no cap.
πΈ NAME πΈ
stm_data_write β send the given payload as data packets. literally that's the assignment, and she ate π
π¦ SYNOPSIS π¦
the signature, exactly as it is, bestie β no edits, no cap:
ssize_t notrace stm_data_write (struct stm_data *data , unsigned int m ,
unsigned int c , bool ts_first , const void *buf , size_t count );
π ARGUMENTS π
dataβ the stm driver's data π«Ά that's her lil home base.mβ the STP master πcβ the STP channel πts_firstβ timestamp the first packet β±οΈ yes, that's the whole assignment.bufβ the data payload buffer πcountβ the data payload size π
π SEE ALSO π
Kernel file ./drivers/hwtracing/stm/core.c β stm_find_device(9), stm_put_device(9), stm_source_link_add(9), __stm_source_link_drop(9), stm_source_link_drop(9), stm_source_register_device(9), stm_source_unregister_device(9) π¦
okay bestie, that's the whole page β go read the kernel file if you want the full lore, iykyk πβ¨
xoxo, your kernel bestie π β source/version: ./drivers/hwtracing/stm, date: October 2026 π
π¦ 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