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