mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Trace interrupts with KTR_INTR.
This commit is contained in:
parent
9dec52bfb2
commit
cbb6aaf62f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182580
@ -76,6 +76,8 @@ powerpc_interrupt(struct trapframe *framep)
|
|||||||
|
|
||||||
td = curthread;
|
td = curthread;
|
||||||
|
|
||||||
|
CTR2(KTR_INTR, "%s: EXC=%x", __func__, framep->exc);
|
||||||
|
|
||||||
switch (framep->exc) {
|
switch (framep->exc) {
|
||||||
case EXC_EXI:
|
case EXC_EXI:
|
||||||
atomic_add_int(&td->td_intr_nesting_level, 1);
|
atomic_add_int(&td->td_intr_nesting_level, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user