Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 6fb86566 authored by Matthias Schiffer's avatar Matthias Schiffer Committed by Paul Burton
Browse files

mips: ftrace: fix static function graph tracing

ftrace_graph_caller was never run after calling ftrace_trace_function,
breaking the function graph tracer. Fix this, bringing it in line with the
x86 implementation.

While we're at it, also streamline the control flow of _mcount a bit to
reduce the number of branches.

This issue was reported before:
https://www.linux-mips.org/archives/linux-mips/2014-11/msg00295.html



Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
Tested-by: default avatarMatt Redfearn <matt.redfearn@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/18929/


Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Cc: stable@vger.kernel.org # v3.17+
parent 2a027b47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment