telemetry_raw_read_eventlog(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🫢 telemetry_raw_read_eventlog β€” the Kernel API Manual, bestie edition

okay so we're reading telemetry_raw_read_eventlog(9) today and honestly? it's giving "small function, big responsibility" ✨ it lives in the Kernel API Manual and it's the raw, no-training-wheels version of pulling the Telemetry log out of PSS or IOSS πŸ’…


✨ NAME ✨

telemetry_raw_read_eventlog β€” Fetch the Telemetry log from PSS or IOSS πŸŽ€


✨ SYNOPSIS ✨

int telemetry_raw_read_eventlog (enum telemetry_unit telem_unit , struct
telemetry_evtlog *evtlog , int len );

like yes she's a one-liner but she's an iconic one-liner 🫢


🌸 ARGUMENTS 🌸

  • telem_unit β€” Specify whether IOSS or PSS Read πŸ‘‘ so you literally have to tell it which one you want, no guessing, no vibes-based defaults.
  • evtlog β€” Array of telemetry_evtlog structs to fill data πŸ’– this is where the good stuff lands.
  • len β€” Length of array of evtlog πŸŽ€ i.e. how many structs you're handing over. pls make it correct, i'm begging πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

The caller must take care of locking in this case. πŸ’€

bestie this is the whole description and it's the whole point β€” raw means raw, so you bring the lock, not the function. no cap, if you skip that it's on you 😭

🌈 RETURN 🌈

  • number of eventlogs read for success πŸ”₯
  • < 0 for failure πŸ’€

like it literally tells you: count good, negative bad, iykyk ✨


⭐ SEE ALSO ⭐

the whole telemetry friend group, all linked up 🫢 go read the rest, they all ate πŸ’…


and that's the page, bestie 🧚 this one came out of ./drivers/platform/x86/intel/t..., dated October 2026, under the Kernel API Manual banner β€” periodt, go lock your own mutex and slay πŸ’œ

πŸ“¦ where this page comes from