mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:08:12 +00:00
Kernel: Simplify dump_backtrace() API for clients.
It makes no sense that clients had to worry about whether or not KSyms were loaded.
This commit is contained in:
parent
7a2da54c07
commit
2f4e7edee5
6 changed files with 10 additions and 11 deletions
|
@ -125,11 +125,11 @@ static void load_ksyms_from_data(const ByteBuffer& buffer)
|
|||
}
|
||||
}
|
||||
|
||||
void dump_backtrace(bool use_ksyms)
|
||||
void dump_backtrace()
|
||||
{
|
||||
dword ebp;
|
||||
asm volatile("movl %%ebp, %%eax":"=a"(ebp));
|
||||
dump_backtrace_impl(ebp, use_ksyms);
|
||||
dump_backtrace_impl(ebp, ksyms_ready);
|
||||
}
|
||||
|
||||
void init_ksyms()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue