mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Running lscpumf -i as regular user causes a warning when trying to disply sampling buffer sizes. The root cause is in the cpumf_helper that returns "0,0" instead of a list reference "[0,0]". This happened when running as regular user because the sampling buffer size sysfs attribute is not readable for them. Remove the shortcut and always return a list reference. Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>