git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scale up the fragfile sample size
[lunaix-os.git]
/
lunaix-os
/
kernel
/
debug
/
trace.c
diff --git
a/lunaix-os/kernel/debug/trace.c
b/lunaix-os/kernel/debug/trace.c
index a2459bd64d00f4a8407af62733d1462c52e95b7a..452b3cd1d13855a8878ff7d51b8892aab57fd1d8 100644
(file)
--- a/
lunaix-os/kernel/debug/trace.c
+++ b/
lunaix-os/kernel/debug/trace.c
@@
-5,15
+5,15
@@
#include <lunaix/trace.h>
#include <lunaix/sections.h>
#include <lunaix/trace.h>
#include <lunaix/sections.h>
-#include <
sys
/abi.h>
-#include <
sys/m
m/mm_defs.h>
+#include <
asm
/abi.h>
+#include <
as
m/mm_defs.h>
#include <sys/trace.h>
#include <klibc/string.h>
#define NB_TRACEBACK 16
#include <sys/trace.h>
#include <klibc/string.h>
#define NB_TRACEBACK 16
-LOG_MODULE("
TRACE
")
+LOG_MODULE("
lkdbg
")
extern_autogen(ksymtable);
extern_autogen(ksymtable);
@@
-34,6
+34,9
@@
void
trace_modksyms_init(struct boot_handoff* bhctx)
{
trace_ctx.ksym_table = autogen(struct ksyms, ksymtable);
trace_modksyms_init(struct boot_handoff* bhctx)
{
trace_ctx.ksym_table = autogen(struct ksyms, ksymtable);
+
+ INFO("symbols loaded: %d @0x%lx",
+ trace_ctx.ksym_table->ksym_count, trace_ctx.ksym_table->syms);
}
struct ksym_entry*
}
struct ksym_entry*