mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03: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
Notes:
sideshowbarker
2024-07-19 11:19:45 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/39fcd922105
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user