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:
committed by
GitHub
parent
ff12822606
commit
3e288305c1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user