kern: add tracing for irq/scheduling

This commit is contained in:
Michael Scire authored and SciresM committed 2020-08-18 15:17:40 -07:00
1 parent 8e5c0a9663
commit f058536b59
6 files changed
+59 -12

No files matched your search

@@ -28,8 +28,11 @@ namespace ams::kern {
void KServerPort::CleanupSessions() {
/* Ensure our preconditions are met. */
MESOSPHERE_ASSERT(this->IsLight() || this->session_list.empty());
MESOSPHERE_ASSERT(!this->IsLight() || this->light_session_list.empty());
if (this->IsLight()) {
MESOSPHERE_ASSERT(this->session_list.empty());
} else {
MESOSPHERE_ASSERT(this->light_session_list.empty());
}
/* Cleanup the session list. */
while (true) {