Page MenuHomeFreeBSD

D5161.diff
No OneTemporary

D5161.diff

Index: head/sys/arm64/arm64/intr_machdep.c
===================================================================
--- head/sys/arm64/arm64/intr_machdep.c
+++ head/sys/arm64/arm64/intr_machdep.c
@@ -473,10 +473,6 @@
if (intr != NULL)
PIC_MASK(root_pic, intr->i_hw_irq);
-#ifdef HWPMC_HOOKS
- if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN))
- pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, tf);
-#endif
}
void
@@ -486,6 +482,10 @@
critical_enter();
PIC_DISPATCH(root_pic, tf);
critical_exit();
+#ifdef HWPMC_HOOKS
+ if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN))
+ pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, tf);
+#endif
}
#ifdef SMP

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 21, 5:45 PM (16 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37010302
Default Alt Text
D5161.diff (705 B)

Event Timeline