summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-08-31 14:05:16 +0300
committerWill Deacon <will.deacon@arm.com>2016-09-02 13:47:51 +0300
commit60699ba18b69ff210ed0304bc23f6c9d11d27a72 (patch)
treedc618b2522ad8382207796cc43f772ebf4c250d4 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb929fe320e5f3c91c76cca81be80f2dde2ac54a6 (diff)
downloadlinux-60699ba18b69ff210ed0304bc23f6c9d11d27a72.tar.xz
arm64: head.S: use ordinary stack frame for __primary_switched()
Instead of stashing the value of the link register in x28 before setting up the stack and calling into C code, create an ordinary PCS compatible stack frame so that we can push the return address onto the stack. Since exception handlers require a stack as well, assign the stack pointer register before installing the vector table. Note that this accounts for the difference between THREAD_START_SP and THREAD_SIZE, given that the stack pointer is always decremented before calling into any C code. Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions