Puranjay Mohan 55f6da7051 riscv: stacktrace: fix usage of ftrace_graph_ret_addr()
[ Upstream commit 393da6cbb2ff89aadc47683a85269f913aa1c139 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-25 09:50:55 +02:00
..
2024-06-12 11:12:32 +02:00
2023-08-23 14:16:39 -07:00
2023-03-23 08:47:00 -07:00
2024-02-05 20:14:31 +00:00
2022-12-29 06:59:47 -08:00
2024-03-06 14:48:41 +00:00
2023-08-23 14:16:38 -07:00
2022-05-19 19:30:30 +02:00
2021-01-07 19:00:50 -08:00
2023-08-23 14:16:36 -07:00