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

nvme_get_log_persistent_event - Retrieve Persistent Event Log

int nvme_get_log_persistent_event (int fd , enum nvme_pevent_log_action action , __u32 size , void *pevent_log );

File descriptor of nvme device
Action the controller should take during processing this command
Size of pevent_log
User address to store the persistent event log

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

nvme_get_log_persistent_event January 2023