diff options
author | Josh Poimboeuf <[email protected]> | 2024-10-02 14:32:04 -0700 |
---|---|---|
committer | Helge Deller <[email protected]> | 2024-11-16 22:55:56 +0100 |
commit | a5f05a138a8cac035bf9da9b6ed0e532bc7942c8 (patch) | |
tree | 9fd51ce2db0b3e6b559917f1b7ea6e122b691b73 /drivers/pci/controller/dwc/pcie-histb.c | |
parent | 2d5404caa8c7bb5c4e0435f94b28834ae5456623 (diff) |
parisc/ftrace: Fix function graph tracing disablement
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: [email protected] # 5.16+
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-histb.c')
0 files changed, 0 insertions, 0 deletions