mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
c1fccf0f60
This produces the same data as the Linux nvme-cli 'nvme telemetry-log' command. It extracts the telemetry log from drive. This is a variable length log, so we read the first page and find out how much of the log to grab. There's 3 levels of details available, and we grab the level of detail specified on the command line. Sponsored by: Netflix
42 lines
719 B
Makefile
42 lines
719 B
Makefile
.include <src.opts.mk>
|
|
|
|
PACKAGE=nvme-tools
|
|
PROG= nvmecontrol
|
|
SRCS+= comnd.c
|
|
SRCS+= connect.c
|
|
SRCS+= devlist.c
|
|
SRCS+= disconnect.c
|
|
SRCS+= discover.c
|
|
SRCS+= fabrics.c
|
|
SRCS+= firmware.c
|
|
SRCS+= format.c
|
|
SRCS+= identify.c
|
|
SRCS+= identify_ext.c
|
|
SRCS+= logpage.c
|
|
SRCS+= nc_util.c
|
|
SRCS+= ns.c
|
|
SRCS+= nsid.c
|
|
SRCS+= nvme_util.c
|
|
SRCS+= nvmecontrol.c
|
|
SRCS+= passthru.c
|
|
SRCS+= perftest.c
|
|
SRCS+= power.c
|
|
SRCS+= reconnect.c
|
|
SRCS+= reset.c
|
|
SRCS+= resv.c
|
|
SRCS+= sanitize.c
|
|
SRCS+= selftest.c
|
|
SRCS+= telemetry.c
|
|
CFLAGS+= -I${SRCTOP}/lib/libnvmf
|
|
MAN= nvmecontrol.8
|
|
LDFLAGS+= -rdynamic
|
|
LIBADD+= nvmf util
|
|
SUBDIR= modules
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/nvme
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.subdir.mk>
|