1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright (c) Intel Corporation. 3 * All rights reserved. 4 */ 5 6 #include "spdk/ftl.h" 7 #include "ftl_debug.h" 8 9 void 10 ftl_dev_dump_stats(const struct spdk_ftl_dev *dev) 11 { 12 size_t total = 0; 13 char uuid[SPDK_UUID_STRING_LEN]; 14 15 spdk_uuid_fmt_lower(uuid, sizeof(uuid), &dev->conf.uuid); 16 FTL_NOTICELOG(dev, "\n"); 17 FTL_NOTICELOG(dev, "device UUID: %s\n", uuid); 18 FTL_NOTICELOG(dev, "total valid LBAs: %zu\n", total); 19 } 20