pmt_telem_get_next_endpoint(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so this is the pmt_telem_get_next_endpoint(9) page from the Kernel API Manual, and bestie, it does exactly what it says: pmt_telem_get_next_endpoint β€” get the next device id for a telemetry endpoint ✨


🌸 SYNOPSIS 🌸

unsigned long pmt_telem_get_next_endpoint (unsigned long start );

πŸŽ€ ARGUMENTS πŸŽ€

  • start β€” the starting devid to look from, no cap πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

This function can be used in a while loop predicate to retrieve the devid of all available telemetry endpoints. Literally the main-character move for walking the whole endpoint list πŸ”₯

The functions pmt_telem_get_next_endpoint and pmt_telem_register_endpoint can be used inside of the loop to examine endpoint info and register to receive a pointer to the endpoint. That pointer is then usable in the telemetry read calls to access the telemetry data. It’s giving β€œget the pointer, read the data, slay” πŸ’–


🌈 RETURN 🌈

  • devid β€” the devid of the next present endpoint from start ✨
  • 0 β€” when no more endpoints are present after start 🫢

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’– cute little sign-off: this iconic page comes from the source at ./drivers/platform/x86/intel/pmt, dated October 2026 β€” mwah, go touch some telemetry πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from