Re: [PATCH] arm64: Don't trace __switch_to if function graph tracer is enabled

2017-01-04 Thread Will Deacon
On Wed, Dec 21, 2016 at 02:44:46PM -0800, Joel Fernandes wrote: > Function graph tracer shows negative time (wrap around) when tracing > __switch_to if the nosleep-time trace option is enabled. > > Time compensation for nosleep-time is done by an ftrace probe on > sched_switch. This doesn't work w

[PATCH] arm64: Don't trace __switch_to if function graph tracer is enabled

2016-12-21 Thread Joel Fernandes
Function graph tracer shows negative time (wrap around) when tracing __switch_to if the nosleep-time trace option is enabled. Time compensation for nosleep-time is done by an ftrace probe on sched_switch. This doesn't work well for the following events (with letters representing timestamps): A - s