Page MenuHomeFreeBSD

D39908.1793695896.diff
No OneTemporary

Authored By
Unknown
Size
536 B
Referenced Files
None
Subscribers
None

D39908.1793695896.diff

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

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)

Event Timeline