nvme_mi_admin_get_log_persistent_event(2)

Retrieve Persistent Event Log

Section 2 libnvme-dev bookworm source

Description

nvme_mi_admin_get_log_persistent_event

NAME

nvme_mi_admin_get_log_persistent_event - Retrieve Persistent Event Log

SYNOPSIS

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

ARGUMENTS

ctrl

Controller to query

action

Action the controller should take during processing this command

size

Size of pevent_log

pevent_log

User address to store the persistent event log

RETURN

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