arch-arm: downgrade a warning to a DPRINTF (#1438)

Programming an event ID while counters are disabled is perfectly fine,
so we should just log this using DPRINTF instead of printing a warn()
every time it happens.

Change-Id: Ib9499857271033ef941f74a7f012d8694328eaf3
This commit is contained in:
Alexander Richardson
2024-08-26 02:20:49 -07:00
committed by GitHub
parent ff12822606
commit 3e288305c1

View File

@@ -543,8 +543,9 @@ PMU::CounterState::detach()
sourceEvent->detachEvent(this);
sourceEvent = nullptr;
} else {
debugCounter("detaching event not currently attached"
" to any event\n");
DPRINTFS(PMUVerbose, &pmu,
"detaching event %d not currently attached to any event"
" [counterId = %d]\n", eventId, counterId);
}
}