mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
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:
parent
8a024a3305
commit
39fcd92210
|
@ -134,10 +134,8 @@ static void load_ksyms_from_data(const ByteBuffer& buffer)
|
||||||
void dump_backtrace()
|
void dump_backtrace()
|
||||||
{
|
{
|
||||||
static bool in_dump_backtrace = false;
|
static bool in_dump_backtrace = false;
|
||||||
if (in_dump_backtrace) {
|
if (in_dump_backtrace)
|
||||||
dbgprintf("dump_backtrace() called from within itself, what the hell is going on!\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
TemporaryChange change(in_dump_backtrace, true);
|
TemporaryChange change(in_dump_backtrace, true);
|
||||||
TemporaryChange disable_kmalloc_stacks(g_dump_kmalloc_stacks, false);
|
TemporaryChange disable_kmalloc_stacks(g_dump_kmalloc_stacks, false);
|
||||||
u32 ebp;
|
u32 ebp;
|
||||||
|
|
Loading…
Reference in a new issue