diff options
| author | Song Shuai <[email protected]> | 2023-11-30 12:15:29 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-01-18 02:17:08 +0000 |
| commit | 35e61e8827ee8ea09e6093ab4d8ba45efd537e36 (patch) | |
| tree | 909bd0b20f32458071763e5957f140c665b8ac5f /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | riscv: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY (diff) | |
| download | kernel-35e61e8827ee8ea09e6093ab4d8ba45efd537e36.tar.gz kernel-35e61e8827ee8ea09e6093ab4d8ba45efd537e36.zip | |
riscv: ftrace: Make function graph use ftrace directly
Similar to commit 0c0593b45c9b ("x86/ftrace: Make function graph use
ftrace directly") and commit c4a0ebf87ceb ("arm64/ftrace: Make
function graph use ftrace directly"), RISC-V has no need for a special
graph tracer hook. The graph_ops::func function can be used to install
the return_hooker.
This cleanup only changes the FTRACE_WITH_REGS implementation, leaving
the mcount-based implementation is unaffected.
Perform the simplification, and also cleanup the register save/restore
macros.
Signed-off-by: Song Shuai <[email protected]>
Tested-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
