summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMagnus Lindholm <linmag7@gmail.com>2026-07-06 18:56:45 +0200
committerMagnus Lindholm <linmag7@gmail.com>2026-07-19 13:16:03 +0200
commitcfdf5b879d092ef277a0a657278f7f7f47be8adc (patch)
tree3ebb67554beb8beb74cbe188fcd636c4b458456b /tools/perf/scripts/python/flamegraph.py
parent05dc12d664f54cd23dad1e13c2fadbbd73f08450 (diff)
alpha: provide ftrace return address support for lockdep
Lockdep uses ftrace_return_address() to report useful call sites for lock acquisition and IRQ-state tracking diagnostics. Provide the Alpha architecture hook using the compiler return-address builtin when frame pointers are available. Return zero when frame pointers are disabled, matching the existing fallback behavior of architectures that cannot provide a reliable return address. This is a preparatory change for enabling lockdep support on Alpha. Reviewed-by: Matt Turner <mattst88@gmail.com> Tested-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Magnus Lindholm <linmag7@gmail.com> Link: https://lore.kernel.org/r/20260706170019.2941459-5-linmag7@gmail.com Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions