git: 862ea25915cc - stable/13 - hwpmc_arm64: add a PMCDBG to the interrupt handler
Mitchell Horne
mhorne at FreeBSD.org
Thu Jul 29 15:25:36 UTC 2021
The branch stable/13 has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=862ea25915ccb70d8a25ee2b2e792c3974717e51
commit 862ea25915ccb70d8a25ee2b2e792c3974717e51
Author: Mitchell Horne <mhorne at FreeBSD.org>
AuthorDate: 2021-05-19 16:29:59 +0000
Commit: Mitchell Horne <mhorne at FreeBSD.org>
CommitDate: 2021-07-29 15:05:55 +0000
hwpmc_arm64: add a PMCDBG to the interrupt handler
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 13f5a3076bc8f3774b82f2d5ca29e2e0e2af997b)
---
sys/dev/hwpmc/hwpmc_arm64.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/dev/hwpmc/hwpmc_arm64.c b/sys/dev/hwpmc/hwpmc_arm64.c
index 06e2e66c7fda..8a149f5f508f 100644
--- a/sys/dev/hwpmc/hwpmc_arm64.c
+++ b/sys/dev/hwpmc/hwpmc_arm64.c
@@ -359,6 +359,9 @@ arm64_intr(struct trapframe *tf)
KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),
("[arm64,%d] CPU %d out of range", __LINE__, cpu));
+ PMCDBG3(MDP,INT,1, "cpu=%d tf=%p um=%d", cpu, (void *)tf,
+ TRAPF_USERMODE(tf));
+
retval = 0;
pc = arm64_pcpu[cpu];
More information about the dev-commits-src-all
mailing list