stm_data_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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