Skip to content

Commit 827f7d8

Browse files
ikegami-tigaw
authored andcommitted
nvme-print: add PEL vendor specific and TCG defined events strings
Added the PEL event types definitions in libnvme. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
1 parent 7f59628 commit 827f7d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nvme-print.c

+4
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ static const char *pel_event_to_string(int type)
178178
return "Set Telemetry CRT Event";
179179
case NVME_PEL_THERMAL_EXCURSION_EVENT:
180180
return "Thermal Excursion Event";
181+
case NVME_PEL_VENDOR_SPECIFIC_EVENT:
182+
return "Vendor Specific Event";
183+
case NVME_PEL_TCG_DEFINED_EVENT:
184+
return "TCG Defined Event";
181185
default:
182186
return "Reserved Event";
183187
}

0 commit comments

Comments
 (0)