Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parisc/ftrace: Fix function graph tracing disablement
commit a5f05a1 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: 98f2926 ("parisc/ftrace: use static key to enable/disable function graph tracer") Cc: [email protected] # 5.16+ Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information