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
properly update the pprev of next node when deleting hlist_node (close #30)
[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 9edf96165e26755e8b00603c72902a0f68a0ada9..9409c36378de29e20ee09f182f181c77f1753258 100644
(file)
--- a/
lunaix-os/includes/lunaix/trace.h
+++ b/
lunaix-os/includes/lunaix/trace.h
@@
-2,24
+2,24
@@
#define __LUNAIX_TRACE_H
#include <lunaix/boot_generic.h>
#define __LUNAIX_TRACE_H
#include <lunaix/boot_generic.h>
-#include <
sys/interrupts
.h>
+#include <
lunaix/pcontext
.h>
struct ksym_entry
{
ptr_t pc;
struct ksym_entry
{
ptr_t pc;
-
u32_t label_off
;
-};
+
char* label
;
+}
align(8)
;
struct trace_record
{
ptr_t pc;
struct trace_record
{
ptr_t pc;
+ ptr_t sym_pc;
char* symbol;
};
struct ksyms
{
char* symbol;
};
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];
};