1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +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

@ -1189,6 +1189,8 @@ public:
InodeIndex global_procfs_inode_index() const { return m_global_procfs_inode_index; }
String backtrace();
private:
Thread(NonnullRefPtr<Process>, NonnullOwnPtr<Region>, NonnullRefPtr<Timer>, FPUState*);
@ -1255,7 +1257,6 @@ private:
LockMode unlock_process_if_locked(u32&);
void relock_process(LockMode, u32);
String backtrace();
void reset_fpu_state();
mutable RecursiveSpinLock m_lock;