Date: Wed, 30 Jun 2021 21:22:15 GMT From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 13f5a3076bc8 - main - hwpmc_arm64: add a PMCDBG to the interrupt handler Message-ID: <202106302122.15ULMF70013497@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=13f5a3076bc8f3774b82f2d5ca29e2e0e2af997b commit 13f5a3076bc8f3774b82f2d5ca29e2e0e2af997b Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2021-05-19 16:29:59 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2021-06-30 21:21:23 +0000 hwpmc_arm64: add a PMCDBG to the interrupt handler MFC after: 3 days Sponsored by: The FreeBSD Foundation --- 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 6b98fb46e7f1..84a8791287f7 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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106302122.15ULMF70013497>