Re: [PATCH] ftrace: Add a C/P state tracer to help poweroptimization

From: Arjan van de Ven
Date: Sun Nov 23 2008 - 19:49:19 EST


On Sun, 23 Nov 2008 22:12:44 +0100
"FrÃdÃric Weisbecker" <fweisbec@xxxxxxxxx> wrote:

> Hi Arjan,
>
> 2008/11/23 Arjan van de Ven <arjan@xxxxxxxxxxxxx>:
> > +static void power_trace_ctrl_update(struct trace_array *tr)
> > +{
> > + if (tr->ctrl)
> > + start_power_trace();
> > + else
> > + stop_power_trace(tr);
> > +}
>
>
> The ctrl_update callback doesn't exist anymore...

the patch was against mainline;
below is an updated patch against -tip: