diff options
author | Puranjay Mohan <[email protected]> | 2024-06-18 16:23:42 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2024-09-05 15:03:35 +0100 |
commit | c060f93253cad63ea9d41b5b1186a1da32541dec (patch) | |
tree | 463e683fa08840d4c6f838a8e2ba0bc0b51b9c2c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 75c8f387dd16066a90c0928d00851edad0c8c519 (diff) |
arm64: stacktrace: fix the usage of ftrace_graph_ret_addr()
ftrace_graph_ret_addr() takes an 'idx' integer pointer that is used to
optimize the stack unwinding process. arm64 currently passes `NULL` for
this parameter which stops it from utilizing these optimizations.
Further, the current code for ftrace_graph_ret_addr() will just return
the passed in return address if it is NULL which will break this usage.
Pass a valid integer pointer to ftrace_graph_ret_addr() similar to
x86_64's stack unwinder.
Signed-off-by: Puranjay Mohan <[email protected]>
Fixes: 29c1c24a2707 ("function_graph: Fix up ftrace_graph_ret_addr()")
Acked-by: Steven Rostedt (Google) <[email protected]>
Acked-by: Will Deacon <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Tested-by: Mark Rutland <[email protected]>
Reviewed-by: Steven Rostedt (Google) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions