mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
Kernel: Make it possible to have kmalloc() dump call stacks.
This can be enabled at any time using a sysctl: sysctl kmalloc_stacks=1 The stacks will go to the debugger output only.
This commit is contained in:
parent
bc6ac1c2f2
commit
d384c7815f
4 changed files with 14 additions and 0 deletions
|
@ -59,6 +59,7 @@ private:
|
|||
mutable Lock m_inodes_lock;
|
||||
mutable HashMap<unsigned, ProcFSInode*> m_inodes;
|
||||
RetainPtr<ProcFSInode> m_root_inode;
|
||||
Lockable<bool> m_kmalloc_stack_helper;
|
||||
};
|
||||
|
||||
struct ProcFSInodeCustomData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue