summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/linux/linux_threadinfo.hh4
-rw-r--r--kern/linux/sched.hh4
2 files changed, 4 insertions, 4 deletions
diff --git a/kern/linux/linux_threadinfo.hh b/kern/linux/linux_threadinfo.hh
index 99ce9965a..92cc181db 100644
--- a/kern/linux/linux_threadinfo.hh
+++ b/kern/linux/linux_threadinfo.hh
@@ -71,7 +71,7 @@ class ThreadInfo
std::string
curTaskName()
{
- return curTaskInfo()->comm;
+ return curTaskInfo()->name;
}
int32_t
@@ -83,7 +83,7 @@ class ThreadInfo
uint64_t
curTaskStart()
{
- return curTaskInfo()->start_time;
+ return curTaskInfo()->start;
}
};
}
diff --git a/kern/linux/sched.hh b/kern/linux/sched.hh
index 4eced0e27..e3febb298 100644
--- a/kern/linux/sched.hh
+++ b/kern/linux/sched.hh
@@ -37,9 +37,9 @@ namespace Linux {
uint8_t junk1[0xf4];
int32_t pid;
uint8_t junk2[0x190];
- uint64_ta start_time;
+ uint64_ta start;
uint8_t junk3[0x5c];
- char comm[16];
+ char name[16];
};