Liam R. Howlett 48078d2dac sparc/ftrace: Fix ftrace graph time measurement
The ftrace function_graph time measurements of a given function is not
accurate according to those recorded by ftrace using the function
filters.  This change pulls the x86_64 fix from 'commit 722b3c746953
("ftrace/graph: Trace function entry before updating index")' into the
sparc specific prepare_ftrace_return which stops ftrace from
counting interrupted tasks in the time measurement.

Example measurements for select_task_rq_fair running "hackbench 100
process 1000":

              |  tracing/trace_stat/function0  |  function_graph
 Before patch |  2.802 us                      |  4.255 us
 After patch  |  2.749 us                      |  3.094 us

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-17 12:07:47 -07:00
..
2014-05-18 19:01:30 -07:00
2014-05-18 19:01:29 -07:00
2016-08-07 23:55:43 -04:00
2017-03-28 18:24:00 -04:00
2016-08-07 23:55:43 -04:00
2016-11-18 11:16:59 -08:00
2016-08-07 23:55:43 -04:00
2016-07-27 22:53:17 -07:00
2015-03-19 10:17:22 -05:00
2016-12-11 18:01:51 -08:00
2017-03-27 21:51:40 -07:00
2014-12-14 16:10:09 -08:00
2015-03-19 18:54:49 -07:00
2013-06-13 22:12:14 +01:00
2017-03-27 21:51:40 -07:00
2017-03-27 21:51:40 -07:00
2014-07-21 22:27:56 -07:00
2017-04-23 18:28:55 -07:00
2017-04-23 18:28:55 -07:00
2017-02-23 08:30:28 -08:00
2017-03-27 21:51:40 -07:00
2017-03-27 21:51:40 -07:00