summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2005-06-05 11:39:44 -0400
committerAli Saidi <saidi@eecs.umich.edu>2005-06-05 11:39:44 -0400
commitca98d70e503c4a148578ed43401587e3e8c311b4 (patch)
tree9c09f789d5f11e6d63b4603ca7b9600de1e1a020 /kern
parent7a9e09d20c9b8bd8e3f0a1662a9b9d8f1f991617 (diff)
downloadgem5-ca98d70e503c4a148578ed43401587e3e8c311b4.tar.xz
changes linux process names slightly
kern/linux/linux_threadinfo.hh: kern/linux/sched.hh: changed names slightly --HG-- extra : convert_revision : 8e42ebee1d749a65b78af5733de9e0deda3c548e
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];
};