mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When lshwc is invoked with # ./lshwc -a :P lshwc: ioctl S390_HWCTR_START: Invalid argument # it returns an error instead of listing all problem state counters of all online CPUs. The reason is an empty CPU list when it is omitted and only a counter set is specified. Fix this. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>