aboutsummaryrefslogtreecommitdiff
path: root/core/opal.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/opal.c')
-rw-r--r--core/opal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/opal.c b/core/opal.c
index 5e1c742..7e53486 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -285,6 +285,9 @@ void opal_run_pollers(void)
/* The pollers are run lokelessly, see comment in opal_del_poller */
list_for_each(&opal_pollers, poll_ent, link)
poll_ent->poller(poll_ent->data);
+
+ /* On debug builds, print max stack usage */
+ check_stacks();
}
static int64_t opal_poll_events(uint64_t *outstanding_event_mask)