diff options
author | Chengming Zhou <[email protected]> | 2022-04-21 00:00:06 +0800 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2022-04-29 19:21:12 +0100 |
commit | c4a0ebf87cebbfa28d56e7d93b2536e2311e30c9 (patch) | |
tree | 4bac1e78233bb63eebbc32430d88feac9326e2c7 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | e999995c84c3abb6dcae83f8c35942a8d4ee0451 (diff) |
arm64/ftrace: Make function graph use ftrace directly
As we do in commit 0c0593b45c9b ("x86/ftrace: Make function graph
use ftrace directly"), we don't need special hook for graph tracer,
but instead we use graph_ops:func function to install return_hooker.
Since commit 3b23e4991fb6 ("arm64: implement ftrace with regs") add
implementation for FTRACE_WITH_REGS on arm64, we can easily adopt
the same cleanup on arm64.
And this cleanup only changes the FTRACE_WITH_REGS implementation,
so the mcount-based implementation is unaffected.
While in theory it would be possible to make a similar cleanup for
!FTRACE_WITH_REGS, this will require rework of the core code, and
so for now we only change the FTRACE_WITH_REGS implementation.
Tested-by: Mark Rutland <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Signed-off-by: Chengming Zhou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions