diff options
author | Mark Rutland <[email protected]> | 2018-12-07 18:39:27 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2018-12-13 16:42:46 +0000 |
commit | ccc43810827f9feb5e588e4b7098dc55b1d972f8 (patch) | |
tree | da4af8576de9d0a0d470a6ec31331f4909667070 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ec6e822d1a22d0eef1d1fa260dff751dba9a4258 (diff) |
arm64: perf: strip PAC when unwinding userspace
When the kernel is unwinding userspace callchains, we can't expect that
the userspace consumer of these callchains has the data necessary to
strip the PAC from the stored LR.
This patch has the kernel strip the PAC from user stackframes when the
in-kernel unwinder is used. This only affects the LR value, and not the
FP.
This only affects the in-kernel unwinder. When userspace performs
unwinding, it is up to userspace to strip PACs as necessary (which can
be determined from DWARF information).
Signed-off-by: Mark Rutland <[email protected]>
Signed-off-by: Kristina Martsenko <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Ramana Radhakrishnan <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions