You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sndk: vs-internal-log command fixes and enhancements
The data-area parameter was being overwritten and set
to the default data area value for all cases. This change
will only set it when it's not specified.
This set of changes fully deprecates a few of the optional parameters
for this command across both WDC and Sandisk plugins, and tidies up some
of the logic around how telemetry or vendor defined debug is returned.
This adds a new --type value in the vs-internal-log command for
capturing Host-initiated and Controller-initated telemetry in one
command.
Signed-off-by: Brandon Paupore <[email protected]>
Fixes a compile warning on tar file creation.
Fixes error that creates an empty file.
Signed-off-by: jeff-lien-sndk <[email protected]>
telemetry (CONTROLLER, HOST, or BOTH), this specifies the NVMe
44
+
telemetry data area to capture, containing data from areas 1 to
45
+
<DATA AREA>. For capture without such a --type value, this specifies
46
+
the amount of vendor defined debug data to capture, and this is only
47
+
supported on the SN340, SN350, SN530, SN570, SN730, SN740, SN840,
48
+
SN850X, SN5000, SN5100S, SN7000S, SN7100, and SN7150 devices.
49
+
50
+
-t <TYPE>::
51
+
--type=<TYPE>::
52
+
Specifies the telemetry type - NONE, HOST, CONTROLLER, or BOTH. This
53
+
parameter is used to get either the host-initiated or controller-
54
+
initiated telemetry log page. If BOTH is specified, both host and
55
+
controller telemetry are captured and packaged into a tar archive.
56
+
If not specified or if <TYPE> is NONE, the command will return vendor
57
+
defined debug data.
58
+
59
+
-v <VERBOSE>::
60
+
--verbose=<VERBOSE>::
61
+
Provides additional debug messages for certain drives.
49
62
50
63
-f <FILE SIZE>::
51
64
--file-size=<FILE SIZE>::
@@ -64,17 +77,6 @@ OPTIONS
64
77
--data-area parameter, and only for capture with --type=NONE or --type
65
78
not specified.
66
79
67
-
-t <TYPE>::
68
-
--type=<TYPE>::
69
-
Specifies the telemetry type - NONE, HOST, or CONTROLLER. This parameter
70
-
is used to get either the host-initiated or controller-initiated
71
-
telemetry log page. If not specified or if <TYPE> is NONE, the command
72
-
will return vendor defined debug data.
73
-
74
-
-v <VERBOSE>::
75
-
--verbose=<VERBOSE>::
76
-
Provides additional debug messages for certain drives.
77
-
78
80
EXAMPLES
79
81
--------
80
82
* Gets the internal firmware log from the device and saves to default file in current directory (e.g. STM00019F3F9_internal_fw_log_20171127_095704.bin):
Specifies the desired size of the data file starting at the passed in
53
-
offset. This allows the user to retrieve the data in several smaller
54
-
files of the passed in size. This parameter is only supported on the
55
-
devices mentioned in the documentation of the --data-area parameter,
56
-
and only for capture with --type=NONE or --type not specified.
57
-
58
-
-e <OFFSET>::
59
-
--offset=<OFFSET>::
60
-
Specifies the data offset at which to start retrieving the data. This
61
-
parameter is used in combination with the file size parameter to
62
-
retrieve the data in several smaller files. This parameter is only
63
-
supported on the devices mentioned in the documentation of the
64
-
--data-area parameter, and only for capture with --type=NONE or --type
65
-
not specified.
66
-
67
50
-t <TYPE>::
68
51
--type=<TYPE>::
69
52
Specifies the telemetry type - NONE, HOST, or CONTROLLER. This parameter
@@ -75,6 +58,23 @@ OPTIONS
75
58
--verbose=<VERBOSE>::
76
59
Provides additional debug messages for certain drives.
77
60
61
+
-f <FILE SIZE>::
62
+
--file-size=<FILE SIZE>::
63
+
Deprecated. Specifies the desired size of the data file starting at the
64
+
passed in offset. This allows the user to retrieve the data in several
65
+
smaller files of the passed in size. This parameter is only supported on
66
+
the devices mentioned in the documentation of the --data-area parameter,
67
+
and only for capture with --type=NONE or --type not specified.
68
+
69
+
-e <OFFSET>::
70
+
--offset=<OFFSET>::
71
+
Deprecated. Specifies the data offset at which to start retrieving the
72
+
data. This parameter is used in combination with the file size parameter
73
+
to retrieve the data in several smaller files. This parameter is only
74
+
supported on the devices mentioned in the documentation of the
75
+
--data-area parameter, and only for capture with --type=NONE or --type
76
+
not specified.
77
+
78
78
EXAMPLES
79
79
--------
80
80
* Gets the internal firmware log from the device and saves to default file in current directory (e.g. STM00019F3F9_internal_fw_log_20171127_095704.bin):
0 commit comments