Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1ba5d19e authored by Trilok Soni's avatar Trilok Soni Committed by Runmin Wang
Browse files

arm64: process: Reduce the no. of bytes of data around registers



As a part of __show_regs we print the 512 bytes of data around
key registers like SP, PC and LR. These data is not always useful
and can cause issue while we have more cores in the system and need
to print them per core during the stack traces triggered through
WARN(..) like APIs. It can also cause latency issues due to heavy
printing on the serial console.

Reduce the logging to 128 bytes (nbytes * 2) around these registers
from 512 bytes.

Change-Id: Ie19fececd9d2bc6cd3328a6c63c956bcc9eed9a6
Signed-off-by: default avatarTrilok Soni <tsoni@codeaurora.org>
parent f7939ea3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment