diff options
author | Freya Murphy <freya@freyacat.org> | 2025-05-06 12:34:11 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-05-06 12:34:11 -0400 |
commit | 9e0972a754ec218a5bf611aca644738d1c07e9b1 (patch) | |
tree | 85552d86c7e6362acdc78861f822cc27eb5ae330 | |
parent | update fs (diff) | |
download | comus-9e0972a754ec218a5bf611aca644738d1c07e9b1.tar.gz comus-9e0972a754ec218a5bf611aca644738d1c07e9b1.tar.bz2 comus-9e0972a754ec218a5bf611aca644738d1c07e9b1.zip |
remove sym lookup
-rw-r--r-- | kernel/lib/backtrace.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/lib/backtrace.c b/kernel/lib/backtrace.c index 2507be4..2783b74 100644 --- a/kernel/lib/backtrace.c +++ b/kernel/lib/backtrace.c @@ -50,10 +50,9 @@ void log_backtrace_ex(void *ip, void *bp) if (!VALID(frame)) return; kputs("Stack trace:\n"); - kprintf(" %p\t%s\n", ip, mboot_get_elf_sym((uint64_t)ip)); + kprintf(" %p\n", ip); while (VALID(frame)) { - kprintf(" %p\t%s\n", frame->rip, - mboot_get_elf_sym((uint64_t)frame->rip)); + kprintf(" %p\n", frame->rip); frame = frame->rbp; } } |