telemetry_read_events(9)
π telemetry_read_events(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel, you want telemetry samples, and this function is literally the girl who goes and gets them for you. no cap. it's telemetry_read_events, and it's giving main character energy in the telemetry department. β¨
πΈ SYNOPSIS πΈ
int telemetry_read_events (enum telemetry_unit telem_unit , struct
telemetry_evtlog *evtlog , int len );
it returns an int, bestie. that's the vibe check right there. π«Ά
π ARGUMENTS π
telem_unitβ tells the function which one you want: IOSS or PSS Read. pick your fighter, babes πevtlogβ an array oftelemetry_evtlogstructs that the function fills with data. the way it knows what to read?evtlog.telem_evt_idspecifies the ids. iconic behavior honestly π₯lenβ the length of the array ofevtlog. it's literally just how many slots you're handing over, no more no less π
β RETURN β
it returns the number of eventlogs read on success. and < 0 on failure β so if you see a negative number, that's your sign something went off and you should go touch grass and check your args ππ
fr fr: success = count of eventlogs, failure = anything below zero. don't get it twisted π«Ά
π¦ SEE ALSO π¦
- the kernel file itself, living its best life at
./drivers/platform/x86/intel/telemetry/core.cπ telemetry_read_eventlog(9)telemetry_raw_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, honestly. go say hi to all of them π
and that's the page!! this one's from the ./drivers/platform/x86/intel/t... corner of the tree, dated October 2026, and it's telemetry_read_events(9) β go read some events, bestie, you've got this ππβ¨
π¦ 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