Skip to content

Commit

Permalink
Fixed OCP Latency Monitor stdout spacing in column header
Browse files Browse the repository at this point in the history
The Latency Monitor stdout has a space delimited table.
This fix aligns the column headers (Read, Write, and Deallocate/Trim) with the rest of the column.

Signed-off-by: Minh Hoang (Storage HW) <[email protected]>
  • Loading branch information
Minh Hoang (Storage HW) committed Jan 16, 2025
1 parent e21db3e commit df60ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ocp/ocp-print-stdout.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ static void stdout_c3_log(struct nvme_dev *dev, struct ssd_latency_monitor_log *
printf(" Log Page GUID %s\n", guid);
printf("\n");

printf("%64s%92s%119s\n", "Read", "Write", "Deallocate/Trim");
printf("%64s %27s %27s\n", "Read", "Write", "Deallocate/Trim");
for (i = 0; i < C3_BUCKET_NUM; i++) {
printf(" Active Bucket Counter: Bucket %d %27d %27d %27d\n",
i,
Expand Down

0 comments on commit df60ed3

Please sign in to comment.