summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-08 17:36:29 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-08 17:36:29 +0100
commit39fcd92210599f903566fc914ba31f67b6c4f758 (patch)
tree67b814a029909a3073ea8839b438d70cb26ad31c
parent8a024a33053cc7c54e9ea365b4538b88e1e1898f (diff)
downloadserenity-39fcd92210599f903566fc914ba31f67b6c4f758.zip
Kernel: Remove debug spam about dump_backtrace() calling itself
This was too noisy and important-sounding, when it doesn't really matter that much. It's not the end of the world if symbolication fails for one reason or another.
-rw-r--r--Kernel/KSyms.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Kernel/KSyms.cpp b/Kernel/KSyms.cpp
index 9611aa096f..949e11c143 100644
--- a/Kernel/KSyms.cpp
+++ b/Kernel/KSyms.cpp
@@ -134,10 +134,8 @@ static void load_ksyms_from_data(const ByteBuffer& buffer)
void dump_backtrace()
{
static bool in_dump_backtrace = false;
- if (in_dump_backtrace) {
- dbgprintf("dump_backtrace() called from within itself, what the hell is going on!\n");
+ if (in_dump_backtrace)
return;
- }
TemporaryChange change(in_dump_backtrace, true);
TemporaryChange disable_kmalloc_stacks(g_dump_kmalloc_stacks, false);
u32 ebp;