detect when perf counters can't be used
Bug #1627516 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
power-calibrate (Ubuntu) |
Fix Released
|
Low
|
Colin Ian King |
Bug Description
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/
Ensure perf stats are only shown if we can actually read them.
Changed in power-calibrate (Ubuntu): | |
assignee: | nobody → Colin Ian King (colin-king) |
importance: | Undecided → Low |
Changed in power-calibrate (Ubuntu): | |
status: | New → In Progress |
Changed in power-calibrate (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package power-calibrate - 0.01.22-1
---------------
power-calibrate (0.01.22-1) unstable; urgency=medium
* Makefile: bump version
* debian/control: update Standards-Version to 3.9.8
* Update man page to mention perf mode restrictions
* perf: detect when perf counters can't be used (LP: #1627516)
-- Colin King <email address hidden> Sun, 25 Sep 2016 09:05:53 +0100