summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/sys_sparc_32.c
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2017-05-17 11:47:00 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-07 12:07:46 +0200
commit1a658771d5e129c64b34ce22d3018665d631c173 (patch)
tree399442b40933f04b9129bf3964fdda5ed0c2b77d /arch/sparc/kernel/sys_sparc_32.c
parent45ceb845ef34984357e6c2e0170570cc6f7179a3 (diff)
sparc/ftrace: Fix ftrace graph time measurement
[ Upstream commit 48078d2dac0a26f84f5f3ec704f24f7c832cce14 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/kernel/sys_sparc_32.c')
0 files changed, 0 insertions, 0 deletions