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
* Make the ksym table built-in with kernel image, thus remove the need
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
trace.h
diff --git
a/lunaix-os/includes/lunaix/trace.h
b/lunaix-os/includes/lunaix/trace.h
index c0208bd9eae21fc5c60c6d1ed53de7fd1af01aa8..9409c36378de29e20ee09f182f181c77f1753258 100644
(file)
--- a/
lunaix-os/includes/lunaix/trace.h
+++ b/
lunaix-os/includes/lunaix/trace.h
@@
-7,8
+7,8
@@
struct ksym_entry
{
ptr_t pc;
struct ksym_entry
{
ptr_t pc;
-
u32_t label_off
;
-};
+
char* label
;
+}
align(8)
;
struct trace_record
{
struct trace_record
{
@@
-19,8
+19,7
@@
struct trace_record
struct ksyms
{
struct ksyms
{
- u32_t ksym_count;
- u32_t ksym_label_off;
+ unsigned long ksym_count;
struct ksym_entry syms[0];
};
struct ksym_entry syms[0];
};