Public bug reported: Newer kernels are more paranoid about security so the perf stats are zero unless one runs with the CAP_SYS_ADMIN capability (or tweak /proc/sys/kernel/perf_event_paranoid to below 2 for it to work as a normal user).
Ensure perf stats are only shown if we can actually read them. ** Affects: power-calibrate (Ubuntu) Importance: Low Assignee: Colin Ian King (colin-king) Status: In Progress ** Changed in: power-calibrate (Ubuntu) Assignee: (unassigned) => Colin Ian King (colin-king) ** Changed in: power-calibrate (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1627516 Title: detect when perf counters can't be used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/power-calibrate/+bug/1627516/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs