Date: Thu, 29 Jul 2021 15:25:35 GMT From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 862ea25915cc - stable/13 - hwpmc_arm64: add a PMCDBG to the interrupt handler Message-ID: <202107291525.16TFPZT7010064@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=862ea25915ccb70d8a25ee2b2e792c3974717e51 commit 862ea25915ccb70d8a25ee2b2e792c3974717e51 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2021-05-19 16:29:59 +0000 Commit: Mitchell Horne <mhorne@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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107291525.16TFPZT7010064>