forked from linux-nvme/nvme-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocp: support OCP 2.5 Set Telemetry Profile feature
Adds a new OCP plugin function to set the device telemetry profile, configuring what debug data shall be collected by the device. Signed-off-by: Brandon Paupore <[email protected]>
- Loading branch information
1 parent
fbb3311
commit 5348a86
Showing
5 changed files
with
144 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
nvme-ocp-set-telemetry-profile(1) | ||
================================= | ||
|
||
NAME | ||
---- | ||
nvme-ocp-set-telemetry-profile - Set Telemetry Profile | ||
|
||
SYNOPSIS | ||
-------- | ||
[verse] | ||
'nvme ocp set-telemetry-profile' <device> | ||
[--telemetry-profile-select=<tps> | -t <tps>] | ||
|
||
DESCRIPTION | ||
----------- | ||
For the NVMe device given, sets the OCP Set Telemetry Profile Feature | ||
|
||
The <device> parameter is mandatory and may be either the NVMe character | ||
device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1). | ||
|
||
This will only work on OCP compliant devices supporting this feature. | ||
Results for any other device are undefined. | ||
|
||
On success it returns 0, error code otherwise. | ||
|
||
OPTIONS | ||
------- | ||
-t <tps>:: | ||
--tps=<tps>:: | ||
Telemetry Profile Select. The device shall collect debug data per the | ||
specified profile number. | ||
|
||
EXAMPLES | ||
-------- | ||
* Has the program issue a set-telemetry-profile command to use profile five. | ||
+ | ||
------------ | ||
# nvme ocp set-telemetry-profile /dev/nvme0 -t 5 | ||
------------ | ||
|
||
NVME | ||
---- | ||
Part of the nvme-user suite. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters