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.
This commit is contained in:
Andreas Kling 2019-11-08 17:36:29 +01:00
parent 8a024a3305
commit 39fcd92210
Notes: sideshowbarker 2024-07-19 11:19:45 +09:00

View File

@ -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;