[RFC PATCH] ARM: sched_clock: allow sched_clock to be selected at runtime

Jamie Iles jamie at jamieiles.com
Thu Aug 11 04:49:06 EDT 2011


On Thu, Aug 11, 2011 at 09:25:15AM +0100, Russell King - ARM Linux wrote:
> On Wed, Aug 10, 2011 at 12:49:07PM +0100, Jamie Iles wrote:
> > Tested on my 1176 platform and works nicely.  However, shouldn't the 
> > read functions still be marked notrace so they don't appear in ftrace 
> > output?
> > 
> > On my (out of tree) platform, omitting notrace and having all of the 
> > ftrace bootup tests results in a hard lockup.  Annotating the read 
> > function resolves this.
> 
> Why not also convert ftrace to use clocksources ?

I can't say I know enough about ftrace to say what the implications of 
that would be (other than a dependency on all platforms having a 
suitable clocksource).

Jamie



More information about the linux-arm-kernel mailing list