From cbb6aaf62f9488871832b81b0a4045f35a63d7c2 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sun, 31 Aug 2008 23:54:22 +0000 Subject: [PATCH] Trace interrupts with KTR_INTR. --- sys/powerpc/aim/interrupt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/powerpc/aim/interrupt.c b/sys/powerpc/aim/interrupt.c index ff77fc8dc074..d7f489ad4e2b 100644 --- a/sys/powerpc/aim/interrupt.c +++ b/sys/powerpc/aim/interrupt.c @@ -76,6 +76,8 @@ powerpc_interrupt(struct trapframe *framep) td = curthread; + CTR2(KTR_INTR, "%s: EXC=%x", __func__, framep->exc); + switch (framep->exc) { case EXC_EXI: atomic_add_int(&td->td_intr_nesting_level, 1);