Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176985821
D39908.1793695896.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
536 B
Referenced Files
None
Subscribers
None
D39908.1793695896.diff
View Options
diff --git a/sys/arm/arm/pmu.c b/sys/arm/arm/pmu.c
--- a/sys/arm/arm/pmu.c
+++ b/sys/arm/arm/pmu.c
@@ -71,6 +71,13 @@
struct trapframe *tf;
#endif
uint32_t r;
+
+#ifdef HWPMC_HOOKS
+ tf = arg;
+ PMCDBG3(MDP,INT,1, "cpu=%d tf=%p um=%d", curcpu, (void *)tf,
+ TRAPF_USERMODE(tf));
+#endif
+
#if defined(__arm__) && (__ARM_ARCH > 6)
u_int cpu;
@@ -90,7 +97,6 @@
#ifdef HWPMC_HOOKS
/* Only call into the HWPMC framework if we know there is work. */
if (r != 0 && pmc_intr) {
- tf = arg;
(*pmc_intr)(tf);
}
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 3, 8:51 AM (2 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41362861
Default Alt Text
D39908.1793695896.diff (536 B)
Attached To
Mode
D39908: arm/arm64 pmu: add a PMCDBG to interrupt handler
Attached
Detach File
Event Timeline