nvme\_init\_get\_log\_persistent\_event(9) libnvme API manual nvme\_init\_get\_log\_persistent\_event(9)

# [NAME](#NAME)

nvme\_init\_get\_log\_persistent\_event - Initialize passthru command for Persistent Event Log

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_get\_log\_persistent\_event** **(struct libnvme\_passthru\_cmd \*cmd ,** **enum nvme\_pevent\_log\_action action ,** **void \*pevent\_log ,** **\_\_u32 len );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[action](#action)

Action the controller should take during processing this command

[pevent\_log](#pevent_log)

User address to store the persistent event log

[len](#len)

Size of *pevent\_log*

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Get Log command with LID value NVME\_LOG\_PERSISTENT\_EVENT

nvme\_init\_get\_log\_persistent\_event October 2026

---

Document: nvme_init_get_log_persistent_event-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
