pmt_telem_get_next_endpoint(9)
π 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 startingdevidto 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β thedevidof the next present endpoint fromstartβ¨0β when no more endpoints are present afterstartπ«Ά
π SEE ALSO π
- Kernel file
./drivers/platform/x86/intel/pmt/telemetry.h pmt_telem_register_endpoint(9)pmt_telem_unregister_endpoint(9)pmt_telem_get_endpoint_info(9)pmt_telem_find_and_register_endpoint(9)pmt_telem_read(9)pmt_telem_read32(9)
π 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
- 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