Re: [Powertop] Please revert the workload patch

Chris Ferron <chris.e.ferron at linux.intel.com> Mon, 18 Jun 2012 09:43:02 -0700
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
Hi Magnus,
     Sorry about that, that patch was lost in the shuffle. All patches 
have now been applied upstream, and all should now be well.
-Chris

On 06/18/2012 08:19 AM, Dirk Brandewie wrote:
> Hi Magnus,
>
> This patch should fix your problem.  I will work with Chris to get it
> pushed out.
>
> BTW could not find the commit you quoted
>
> --Dirk
>
> diff --git a/src/main.cpp b/src/main.cpp
> index 880d745..c57c984 100644
> --- a/src/main.cpp
> +++ b/src/main.cpp
> @@ -452,7 +452,7 @@ int main(int argc, char **argv)
>
>      while (!leave_powertop) {
>          show_cur_tab();
> -        one_measurement(time_out, workload);
> +        one_measurement(time_out, NULL);
>          learn_parameters(15, 0);
>      }
>  #ifndef DISABLE_NCURSES