Skip to content

Commit e89daf6

Browse files
sfindley102892igaw
authored andcommitted
ocp: Add Statistics Identifier String Table Size to JSON
The Statistic Identifier String Table Size is missing in the JSON output, added it. Signed-off-by: Shaneal Findley <[email protected]>
1 parent 18cf91a commit e89daf6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugins/ocp/ocp-print-json.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,8 @@ static void json_c9_log(struct telemetry_str_log_format *log_data, __u8 *log_dat
900900

901901
json_object_add_value_int(root, "Statistics Identifier String Table Start",
902902
le64_to_cpu(log_data->sits));
903+
json_object_add_value_int(root, "Statistics Identifier String Table Size",
904+
le64_to_cpu(log_data->sitsz));
903905
json_object_add_value_int(root, "Event String Table Start", le64_to_cpu(log_data->ests));
904906
json_object_add_value_int(root, "Event String Table Size", le64_to_cpu(log_data->estsz));
905907
json_object_add_value_int(root, "VU Event String Table Start",

0 commit comments

Comments
 (0)