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

nvme_mi_admin_get_log_persistent_event - Retrieve Persistent Event Log

int nvme_mi_admin_get_log_persistent_event (nvme_mi_ctrl_t ctrl , enum nvme_pevent_log_action action , __u32 size , void *pevent_log );

Controller to query
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_mi_admin_get_log_persistent_event January 2023