For more informative records of exceptions, include key details such as
the exception code and stval contents. Add a new KTR_TRAP trace record
for interrupts.
Details
Details
- Reviewers
markj jhb - Group Reviewers
riscv - Commits
- rGdfea72b70f3f: riscv: improve KTR_TRAP trace entries
rG7756232199ad: riscv: improve KTR_TRAP trace entries
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 52117 Build 49008: arc lint + arc unit
Event Timeline
sys/riscv/riscv/intr_machdep.c | ||
---|---|---|
167 | KTR entries always contain a pointer to curthread (used to implement ktrdump -H), so including it here is redundant. I wonder if the pointer to frame is ever useful? |
sys/riscv/riscv/intr_machdep.c | ||
---|---|---|
167 | Good point on curthread. For frame, probably not. It has a short lifetime and it's not like we can do much with it in ddb. |