libnvme(9)
π libnvme(9) β the API Manual, bestie edition π
okay so this one's from the libnvme API Manual and it's literally just one struct, but she's iconic so we're gonna give her the full main-character treatment β¨
πΈ NAME πΈ
struct nvme_persistent_event_entry β Persistent Event π
like, she's an entry. she's persistent. she's an event. the name ate and left no crumbs π
β¨ SYNOPSIS β¨
here's the whole vibe, copied exactly so you can trust me fr fr:
struct nvme_persistent_event_entry {
__u8 etype;
__u8 etype_rev;
__u8 ehl;
__u8 ehai;
__le16 cntlid;
__le64 ets;
__le16 pelpid;
__u8 rsvd16[4];
__le16 vsil;
__le16 el;
};
no cap, that's the entire struct. she's giving organized, she's giving field-annotated, she's giving "I know my types" π¦
π«Ά Members π«Ά
okay bestie, field by field, let's get into it π
etypeβ Event Type π β the actual what kind of event is this of it all.etype_revβ Event Type Revision β the version tag for that event type, iykyk.ehlβ Event Header Length β how long the header is, in case you were wondering.ehaiβ Event Header Additional Info β the extra info that lives up in the header β¨cntlidβ Controller Identifier β which controller this is, her little ID badge π³etsβ Event Timestamp β when it happened. time is a construct but timestamps are real β°pelpidβ Port Identifier β the port's ID, periodt πrsvd16β Reserved β respectfully reserved, do not touch, she's saving that seat πvsilβ Vendor Specific Information Length β how much vendor-specific info there is, measured in length obviously πelβ Event Length β and finally, the length of the event itself. full circle, we love a closer π₯
lowkey important: rsvd16 is Reserved β so like, leave her alone, don't be writing your little values in there π
okay that's the whole page, no filler, every field accounted for, nothing skipped π
sign-off time π§: this little beauty is the struct nvme_persistent_event_entry page from the libnvme API Manual, dated October 2026 β so yeah, she's fresh, she's timestamped, she's slaying into the future βπ
now go forth and parse those persistent events, bestie. you got this ππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms