Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151867055
D5161.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
705 B
Referenced Files
None
Subscribers
None
D5161.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 5:27 AM (12 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31331101
Default Alt Text
D5161.id.diff (705 B)
Attached To
Mode
D5161: Call pmc_hook() correctly in the ARM64 interrupt handler
Attached
Detach File
Event Timeline
Log In to Comment