summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2023-04-11 19:29:41 +0300
committerWill Deacon <will@kernel.org>2023-04-11 20:34:59 +0300
commit9e09d445f1cab518eedf4454d119ead27979b8f4 (patch)
treee48a5ada92073bdab4e6d2003f673c16756fdacf /tools/perf/scripts/python/export-to-postgresql.py
parente8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff)
downloadlinux-9e09d445f1cab518eedf4454d119ead27979b8f4.tar.xz
arm64: stacktrace: recover return address for first entry
The function which calls the top-level backtracing function may have been instrumented with ftrace and/or kprobes, and hence the first return address may have been rewritten. Factor out the existing fgraph / kretprobes address recovery, and use this for the first address. As the comment for the fgraph case isn't all that helpful, I've also dropped that. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Kalesh Singh <kaleshsingh@google.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Madhavan T. Venkataraman <madvenka@linux.microsoft.com> Cc: Mark Brown <broonie@kernel.org> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20230411162943.203199-2-mark.rutland@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions