NVME_GET_LOG_PREDICTABLE_LAT_EVENT(2)
β¨ nvme_get_log_predictable_lat_event β¨
okay bestie, so this one is from the libnvme API manual and it's literally the glow-up you need if you wanna peek at the Predictable Latency Event Aggregate Log Page π no cap.
πΈ NAME πΈ
nvme_get_log_predictable_lat_event β grab the Predictable Latency Event Aggregate Log Page and bring it home, periodt π
π¦ SYNOPSIS π¦
int nvme_get_log_predictable_lat_event (int fd , bool rae , __u32 offset
, __u32 len , void *log );
π ARGUMENTS π
fdβ the file descriptor of the nvme device, aka your main character's ID card πͺͺraeβ Retain asynchronous events. yes queen, keep them π«Άoffsetβ how far into the predictable latency event you're starting. like scrolling past the boring part of the group chat πlenβ length of the user buffer you're handing over to hold the log data, in bytes πlogβ the user address where the log page data goes to live π
β RETURN β
It gives you back the nvme command status if a response actually showed up (check enum nvme_status_field for the deets, iykyk) β or, if things went sideways, it returns -1 and sets errno. not the vibe honestly π
and that's the whole page, bestie π§ from the libnvme API manual, dated July 2026 β slay, ate, no crumbs left, mwah ππ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms