pmt_telem_read32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pmt_telem_read32 β€” Kernel API Manual ✨

okay bestie, welcome to the pmt_telem_read32(9) page, straight out of the Kernel API Manual πŸŽ€ this one's a little telemetry girly and she's literally so straightforward, you're gonna eat this up πŸ’–

🌸 NAME 🌸

pmt_telem_read32 β€” read qwords from counter sram using sample id πŸ¦‹

✨ SYNOPSIS ✨

int pmt_telem_read32 (struct telem_endpoint *ep , u32 id , u32 *data ,
u32 count );

🫢 ARGUMENTS 🫢

  • ep β€” the telemetry endpoint you're reading from, bestie πŸ“–
  • id β€” the beginning sample id of the metric(s) you want to read, like the starting point of the vibe check ✨
  • data β€” an allocated dword buffer, she's where the good stuff lands πŸ’Ύ
  • count β€” how many dwords you're asking for, no cap πŸ”’

πŸ’œ DESCRIPTION πŸ’œ

So here's the tea: callers must ensure reads are aligned ⚠️ like, that's on you, not on the function, okay?

And the big one πŸ‘€ β€” when the call returns -ENODEV, that means the device has been removed, and callers should unregister the telemetry endpoint. periodt. don't leave her registered, that's not the move 😭

πŸ”₯ RETURN πŸ”₯

  • 0 β€” Success πŸŽ‰ slay, it worked
  • -ENODEV β€” the device is not present πŸ™ˆ she's gone
  • -EINVAL β€” the offset is out bounds πŸ’€ yeah that's a miss
  • -EPIPE β€” the device was removed during the read 😱 data was written but should be considered invalid, so do not trust it, fr fr

🌈 SEE ALSO 🌈


okay that's the whole page, you understood it perfectly πŸ’… this lives in ./drivers/platform/x86/intel/pmt, dated October 2026, and yeah the page is literally called pmt_telem_read32(9) in case you forgot already 🧚 go read some telemetry bestie, you got this πŸ‘‘

πŸ“¦ where this page comes from