mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
hwpmc_arm64: add a PMCDBG to the interrupt handler
MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8c3bd133dd
commit
13f5a3076b
@ -359,6 +359,9 @@ arm64_intr(struct trapframe *tf)
|
|||||||
KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),
|
KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),
|
||||||
("[arm64,%d] CPU %d out of range", __LINE__, cpu));
|
("[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;
|
retval = 0;
|
||||||
pc = arm64_pcpu[cpu];
|
pc = arm64_pcpu[cpu];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user