mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:28:11 +00:00
Kernel: Tidy up debug logging a little bit
When using dbg() in the kernel, the output is automatically prefixed with [Process(PID:TID)]. This makes it a lot easier to understand which thread is generating the output. This patch also cleans up some common logging messages and removes the now-unnecessary "dbg() << *current << ..." pattern.
This commit is contained in:
parent
5dd5d5ca4e
commit
f38cfb3562
9 changed files with 41 additions and 38 deletions
|
@ -444,7 +444,7 @@ PageFaultResponse Region::handle_inode_fault(size_t page_index_in_region)
|
|||
cli();
|
||||
|
||||
#ifdef PAGE_FAULT_DEBUG
|
||||
dbg() << *current << " inode fault in " << name() << " page index: " << page_index_in_region;
|
||||
dbg() << "Inode fault in " << name() << " page index: " << page_index_in_region;
|
||||
#endif
|
||||
|
||||
if (!vmobject_physical_page_entry.is_null()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue