-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocp: move ocp telemetry log print function into ocp-print
Still the ocp-telemetry-decode used by print functions combined json code. Signed-off-by: Tokunori Ikegami <[email protected]>
- Loading branch information
Showing
6 changed files
with
29 additions
and
10 deletions.
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
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
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 |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
* | ||
* Authors: Jeff Lien <[email protected]>, | ||
*/ | ||
#ifndef OCP_TELEMETRY_DECODE_H | ||
#define OCP_TELEMETRY_DECODE_H | ||
|
||
#include "nvme.h" | ||
#include "nvme-print.h" | ||
|
@@ -1226,3 +1228,4 @@ void parse_common_event(struct nvme_ocp_telemetry_event_descriptor *pevent_descr | |
void parse_media_wear_event(struct nvme_ocp_telemetry_event_descriptor *pevent_descriptor, | ||
struct json_object *pevent_descriptor_obj, __u8 *pevent_specific_data, | ||
struct json_object *pevent_fifos_object, FILE *fp); | ||
#endif /* OCP_TELEMETRY_DECODE_H */ |