aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorClément Léger <[email protected]>2023-10-04 17:14:05 +0200
committerPalmer Dabbelt <[email protected]>2023-11-01 08:34:59 -0700
commit9f23a5d2f6b01c2ab91d791109731a0d87ec2239 (patch)
tree17fd1a240636a03de468a1f01b0ca407f099de28 /tools/perf/scripts/python/task-analyzer.py
parent71c54b3d169db5569655cbd2a3616bc701fd5eec (diff)
riscv: add support for PR_SET_UNALIGN and PR_GET_UNALIGN
Now that trap support is ready to handle misalignment errors in S-mode, allow the user to control the behavior of misaligned accesses using prctl(PR_SET_UNALIGN). Add an align_ctl flag in thread_struct which will be used to determine if we should SIGBUS the process or not on such fault. Signed-off-by: Clément Léger <[email protected]> Reviewed-by: Björn Töpel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions