summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2022-11-09 09:49:36 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-12-06 03:58:01 +0300
commit5c3022e4a616d800cf5f4c3a981d7992179e44a1 (patch)
tree79112c09f5036bfa9746e2ddfb0eb06963d891a7 /tools/perf/scripts/python/export-to-postgresql.py
parentcbc32023ddbdf4baa3d9dc513a2184a84080a5a2 (diff)
downloadlinux-5c3022e4a616d800cf5f4c3a981d7992179e44a1.tar.xz
riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
The 'retp' is a pointer to the return address on the stack, so we must pass the current return address pointer as the 'retp' argument to ftrace_push_return_trace(). Not parent function's return address on the stack. Fixes: b785ec129bd9 ("riscv/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support") Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/r/20221109064937.3643993-2-guoren@kernel.org Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions