Skip to content

Commit

Permalink
hwpmc_arm64: add a PMCDBG to the interrupt handler
Browse files Browse the repository at this point in the history
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
mhorne committed Jun 30, 2021
1 parent 8c3bd13 commit 13f5a30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys/dev/hwpmc/hwpmc_arm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 13f5a30

Please sign in to comment.