DOKK / manpages / debian 12 / libnvme-dev / nvme_get_log_predictable_lat_event.2.en
nvme_get_log_predictable_lat_event(2) libnvme API manual nvme_get_log_predictable_lat_event(2)

nvme_get_log_predictable_lat_event - Retrieve Predictable Latency Event Aggregate Log Page

int nvme_get_log_predictable_lat_event (int fd , bool rae , __u32 offset , __u32 len , void *log );

File descriptor of nvme device
Retain asynchronous events
Offset into the predictable latency event
Length of provided user buffer to hold the log data in bytes
User address for log page data

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_get_log_predictable_lat_event January 2023