telemetry_raw_read_eventlog(9)
π«Ά 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 oftelemetry_evtlogstructs to fill data π this is where the good stuff lands.lenβ Length of array ofevtlogπ 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 π₯
< 0for failure π
like it literally tells you: count good, negative bad, iykyk β¨
β SEE ALSO β
- Kernel file
./drivers/platform/x86/intel/telemetry/core.cπ telemetry_read_events(9)telemetry_read_eventlog(9)telemetry_get_trace_verbosity(9)telemetry_set_trace_verbosity(9)telemetry_set_pltdata(9)telemetry_clear_pltdata(9)telemetry_get_pltdata(9)telemetry_get_evtname(9)
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
- 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