mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Some of the attributes printed as JSON by opticsmon are common to all PCI adapters factor these out into reusable helper functions zpci_adapter_json_print_start() and zpci_adapter_json_print_end(). 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>