Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145437462
D39908.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
536 B
Referenced Files
None
Subscribers
None
D39908.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
Fri, Feb 20, 9:31 PM (4 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28903514
Default Alt Text
D39908.diff (536 B)
Attached To
Mode
D39908: arm/arm64 pmu: add a PMCDBG to interrupt handler
Attached
Detach File
Event Timeline
Log In to Comment