summaryrefslogtreecommitdiff
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2024-10-02 14:32:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:02:52 +0100
commit3017be7b843b4e852840ce84e7226b1ab21968bd (patch)
tree272f5f7640bc286fe24ac04f20fc3a899085c2a0 /kernel/stacktrace.c
parent486f2c22ba57da66a11bfaadacb3c70f6919f65e (diff)
downloadlinux-3017be7b843b4e852840ce84e7226b1ab21968bd.tar.gz
linux-3017be7b843b4e852840ce84e7226b1ab21968bd.tar.bz2
linux-3017be7b843b4e852840ce84e7226b1ab21968bd.zip
parisc/ftrace: Fix function graph tracing disablement
commit a5f05a138a8cac035bf9da9b6ed0e532bc7942c8 upstream. Due to an apparent copy-paste bug, the parisc implementation of ftrace_disable_ftrace_graph_caller() doesn't actually do anything. It enables the (already-enabled) static key rather than disabling it. The result is that after function graph tracing has been "disabled", any subsequent (non-graph) function tracing will inadvertently also enable the slow fgraph return address hijacking. Fixes: 98f2926171ae ("parisc/ftrace: use static key to enable/disable function graph tracer") Cc: stable@vger.kernel.org # 5.16+ Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions