diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2021-02-07 15:33:24 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-08 18:08:55 +0100 |
commit | 09a43969ba957b3484cc9387344fea145f46aa46 (patch) | |
tree | 0e2077e1d8af02b06e39cb4ca6cbfcba37052c73 /Kernel/Process.cpp | |
parent | 1f8a633cc762fc3ca8544ee75ce25a7a8860d4be (diff) | |
download | serenity-09a43969ba957b3484cc9387344fea145f46aa46.zip |
Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...)
Replacement made by `find Kernel Userland -name '*.h' -o -name '*.cpp' | sed -i -Ee 's/dbgln\b<(\w+)>\(/dbgln_if(\1, /g'`
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r-- | Kernel/Process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 9829f6e925..462ae5bda9 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -337,7 +337,7 @@ Process::Process(RefPtr<Thread>& first_thread, const String& name, uid_t uid, gi , m_ppid(ppid) , m_wait_block_condition(*this) { - dbgln<PROCESS_DEBUG>("Created new process {}({})", m_name, m_pid.value()); + dbgln_if(PROCESS_DEBUG, "Created new process {}({})", m_name, m_pid.value()); m_page_directory = PageDirectory::create_for_userspace(*this, fork_parent ? &fork_parent->page_directory().range_allocator() : nullptr); @@ -599,7 +599,7 @@ void Process::finalize() { ASSERT(Thread::current() == g_finalizer); - dbgln<PROCESS_DEBUG>("Finalizing process {}", *this); + dbgln_if(PROCESS_DEBUG, "Finalizing process {}", *this); if (is_dumpable()) { if (m_should_dump_core) |