summaryrefslogtreecommitdiffstats
path: root/sbin/nvmecontrol/nvmecontrol.c
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2013-06-26 23:53:54 +0000
committerjimharris <jimharris@FreeBSD.org>2013-06-26 23:53:54 +0000
commit246ba1c3a87a263471fd5516bb5f329ab6143c1c (patch)
treeb491c7dfff1887d007c9e4a7b64f310776057964 /sbin/nvmecontrol/nvmecontrol.c
parentd6fbe88f0679a615b69608ec3ecb115885430183 (diff)
downloadFreeBSD-src-246ba1c3a87a263471fd5516bb5f329ab6143c1c.zip
FreeBSD-src-246ba1c3a87a263471fd5516bb5f329ab6143c1c.tar.gz
Add log page support to nvmecontrol(8) through a new logpage command.
This includes pretty printers for all of the standard NVMe log pages (Error, SMART/Health, Firmware), as well as hex output for non-standard or vendor-specific log pages. Submitted by: Joe Golio <joseph.golio@emc.com> Obtained from: EMC / Isilon Storage Division MFC after: 3 days
Diffstat (limited to 'sbin/nvmecontrol/nvmecontrol.c')
-rw-r--r--sbin/nvmecontrol/nvmecontrol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/nvmecontrol/nvmecontrol.c b/sbin/nvmecontrol/nvmecontrol.c
index eb41419..61bfc0a 100644
--- a/sbin/nvmecontrol/nvmecontrol.c
+++ b/sbin/nvmecontrol/nvmecontrol.c
@@ -55,6 +55,7 @@ struct nvme_function {
{"identify", identify, IDENTIFY_USAGE},
{"perftest", perftest, PERFTEST_USAGE},
{"reset", reset, RESET_USAGE},
+ {"logpage", logpage, LOGPAGE_USAGE},
{NULL, NULL, NULL},
};
OpenPOWER on IntegriCloud