arm64: improve KTR_TRAP trace entries
Follow-up of 7756232199
("riscv: improve KTR_TRAP trace entries").
Reviewed by: markj
Approved by: markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40696
This commit is contained in:
parent
6f6446b330
commit
59833b089e
@ -484,9 +484,8 @@ do_el1h_sync(struct thread *td, struct trapframe *frame)
|
||||
return;
|
||||
#endif
|
||||
|
||||
CTR4(KTR_TRAP,
|
||||
"do_el1_sync: curthread: %p, esr 0x%lx, elr: 0x%lx, frame: %p",
|
||||
td, esr, frame->tf_elr, frame);
|
||||
CTR4(KTR_TRAP, "%s: exception=%lu, elr=0x%lx, esr=0x%lx",
|
||||
__func__, exception, frame->tf_elr, esr);
|
||||
|
||||
/*
|
||||
* Enable debug exceptions if we aren't already handling one. They will
|
||||
@ -598,9 +597,8 @@ do_el0_sync(struct thread *td, struct trapframe *frame)
|
||||
}
|
||||
intr_enable();
|
||||
|
||||
CTR4(KTR_TRAP,
|
||||
"do_el0_sync: curthread: %p, esr 0x%lx, elr: 0x%lx, frame: %p",
|
||||
td, esr, frame->tf_elr, frame);
|
||||
CTR4(KTR_TRAP, "%s: exception=%lu, elr=0x%lx, esr=0x%lx",
|
||||
__func__, exception, frame->tf_elr, esr);
|
||||
|
||||
switch (exception) {
|
||||
case EXCP_FP_SIMD:
|
||||
|
Loading…
Reference in New Issue
Block a user