diff options
author | Puranjay Mohan <puranjay@kernel.org> | 2024-06-18 17:58:20 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-07-03 23:10:03 +0300 |
commit | 393da6cbb2ff89aadc47683a85269f913aa1c139 (patch) | |
tree | f16c220fea3cb52fdb020c53c85caf46f1125446 /scripts/gdb/linux/modules.py | |
parent | 3582ce0d7ccf2ee0eca66e5928e5550b8fc84e57 (diff) | |
download | linux-393da6cbb2ff89aadc47683a85269f913aa1c139.tar.xz |
riscv: stacktrace: fix usage of ftrace_graph_ret_addr()
ftrace_graph_ret_addr() takes an `idx` integer pointer that is used to
optimize the stack unwinding. Pass it a valid pointer to utilize the
optimizations that might be available in the future.
The commit is making riscv's usage of ftrace_graph_ret_addr() match
x86_64.
Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20240618145820.62112-1-puranjay@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions