hwpmc_arm64: add a PMCDBG to the interrupt handler

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 13f5a3076b)
This commit is contained in:
Mitchell Horne 2021-05-19 13:29:59 -03:00
parent 83166f8714
commit 862ea25915

View File

@ -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];