---
name: "nvme_init_get_log_persistent_event-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_get_log_persistent_event-libnvme3"
---

# nvme\_init\_get\_log\_persistent\_event-libnvme3(2)

Initialize passthru command for Persistent Event Log

## NAME

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

## 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

- cmd

  Passthru command to use

- action

  Action the controller should take during processing this command

- pevent\_log

  User address to store the persistent event log

- len

  Size of *pevent\_log*

## DESCRIPTION

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