diff options
author | 2022-12-10 22:40:16 +0800 | |
---|---|---|
committer | 2022-12-14 08:41:53 +0800 | |
commit | ac7127e1cc65aeb578998c992a05dbc80fa18f0f (patch) | |
tree | 3cc8f20d43cf9a78558dfe799d3b4fe1bcad6fec /tools/perf/scripts/python | |
parent | LoongArch/ftrace: Add HAVE_DYNAMIC_FTRACE_WITH_REGS support (diff) | |
download | wireguard-linux-ac7127e1cc65aeb578998c992a05dbc80fa18f0f.tar.xz wireguard-linux-ac7127e1cc65aeb578998c992a05dbc80fa18f0f.zip |
LoongArch/ftrace: Add HAVE_DYNAMIC_FTRACE_WITH_ARGS support
Allow for arguments to be passed in to ftrace_regs by default. If this
is set, then arguments and stack can be found from the pt_regs.
1. HAVE_DYNAMIC_FTRACE_WITH_ARGS don't need special hook for graph
tracer entry point, but instead we can use graph_ops::func function to
install the return_hooker.
2. Livepatch requires this option in the future.
Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions