From: Ali Saidi Date: Sun, 5 Jun 2005 15:39:44 +0000 (-0400) Subject: changes linux process names slightly X-Git-Tag: m5_1.0_tutorial~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca98d70e503c4a148578ed43401587e3e8c311b4;p=gem5.git changes linux process names slightly kern/linux/linux_threadinfo.hh: kern/linux/sched.hh: changed names slightly --HG-- extra : convert_revision : 8e42ebee1d749a65b78af5733de9e0deda3c548e --- 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]; };