Files
linux/arch/parisc/kernel
Josh Poimboeuf 9665bbefab 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: 98f2926171 ("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>
2024-12-09 10:32:48 +01:00
..
2022-01-11 11:57:37 +01:00
2020-10-15 08:10:37 +02:00
2023-05-09 14:04:56 +02:00
2022-12-18 22:18:49 +01:00
2022-05-08 20:01:12 +02:00
2022-03-11 19:49:30 +01:00
2023-10-07 20:30:16 +02:00
2024-03-01 13:35:07 +01:00