[PATCH 0/1][Oneiric/Precise] Fix powertop wakeup reporting

Andy Whitcroft apw at canonical.com
Thu Nov 3 17:38:21 UTC 2011


On Thu, Nov 03, 2011 at 11:35:26AM -0400, Seth Forshee wrote:
> powertop currently doesn't report any wakeups because the tracepoints it
> uses are disabled. The tracepoints in question are deprecated, but until
> powertop is fixed we should enable them to aid in debugging power
> issues.
> 
> == Oneiric SRU Justification ==
> 
> Impact: powertop uses deprecated tracepoints to detect what is waking
> the CPU, but in Oneiric/Precise these tracepoints are disabled, and
> powertop reports that no wakeups are occuring.
> 
> Fix: Enable the tracepoints by setting
> CONFIG_EVENT_POWER_TRACING_DEPRECATED=y.
> 
> Testcase: Running powertop without this option gives 0 events/s; running
> with this option gives real values. I've personally verified this on
> oneiric.

Looks sensible, testing seen.

Acked-by: Andy Whitcroft <apw at canonical.com>

-apw




More information about the kernel-team mailing list