mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
This uses the same format as: nvme smart-log --output-format=json /dev/nvmeX One complication being that several values in the SMART data use unsigned 128 bit integers. Both GCC and Clang support __uint128_t as a C extension but don't offer printf() support for it. Just like nvme-cli add a custom uint128_t to string function.. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>