diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-03-24 17:57:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-03 11:26:49 +0200 |
commit | e5da9c5d96abad17fb4d08e37bac665ac9fa635f (patch) | |
tree | fc77f2458318e2aafd6fe138abea78f2260e256c /include | |
parent | 9830adf3ff203f802d80f1989391811bf28628ae (diff) | |
download | linux-stable-e5da9c5d96abad17fb4d08e37bac665ac9fa635f.tar.gz linux-stable-e5da9c5d96abad17fb4d08e37bac665ac9fa635f.tar.bz2 linux-stable-e5da9c5d96abad17fb4d08e37bac665ac9fa635f.zip |
mips: ftrace: fix static function graph tracing
commit 6fb8656646f996d1eef42e6d56203c4915cb9e08 upstream.
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: Matthias Schiffer <mschiffer@universe-factory.net>
Tested-by: Matt Redfearn <matt.redfearn@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/18929/
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: stable@vger.kernel.org # v3.17+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions