Skip to content

Commit 64835c1

Browse files
Tonyongxingkeithbusch
authored andcommitted
Update shannon plugin(add SRAM Error Cnt).
1 parent bef6475 commit 64835c1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

plugins/shannon/shannon-nvme.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ typedef enum {
3434
PLL_LOCK_LOSS,
3535
NAND_WRITE,
3636
HOST_WRITE,
37+
SRAM_ERROR_CNT,
3738
ADD_SMART_ITEMS,
3839
}addtional_smart_items;
3940

@@ -111,6 +112,9 @@ static void show_shannon_smart_log(struct nvme_shannon_smart_log *smart,
111112
printf("host_bytes_written : %3d%% sectors: %"PRIu64"\n",
112113
smart->items[HOST_WRITE].norm,
113114
int48_to_long(smart->items[HOST_WRITE].item_val));
115+
printf("sram_error_count : %3d%% %"PRIu64"\n",
116+
smart->items[RETRY_BUFFER_OVERFLOW].norm,
117+
int48_to_long(smart->items[SRAM_ERROR_CNT].item_val));
114118
}
115119

116120

0 commit comments

Comments
 (0)