Files
Josh Poimboeuf 65e0b741cc parisc/ftrace: Fix function graph tracing disablement
commit a5f05a138a 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-05 13:54:17 +01:00
..
2024-04-09 22:06:00 -07:00
2024-07-29 16:19:07 +02:00
2023-08-22 10:24:47 +02:00
2024-07-29 16:19:07 +02:00