1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

Kernel: Optionally dump scheduler state with stack traces

This will dump stack traces of all threads when pressing
Ctrl+Shift+Alt+F12
This commit is contained in:
Tom 2021-07-15 14:54:19 -06:00 committed by Andreas Kling
parent 0150ae4bbd
commit 82e9fe8d67
4 changed files with 11 additions and 8 deletions

View file

@ -47,7 +47,7 @@ public:
static Thread* peek_next_runnable_thread();
static bool dequeue_runnable_thread(Thread&, bool = false);
static void queue_runnable_thread(Thread&);
static void dump_scheduler_state();
static void dump_scheduler_state(bool = false);
static bool is_initialized();
};