mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
linux-user: Implement starttime field in self stat emulation
Instead of always returning 0, return actual starttime. Signed-off-by: Cameron Esfahani <dirty@apple.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20220128001251.45165-1-dirty@apple.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
ebce1719ac
commit
eb33cdaeda
3 changed files with 20 additions and 0 deletions
|
@ -154,6 +154,9 @@ typedef struct TaskState {
|
|||
|
||||
/* This thread's sigaltstack, if it has one */
|
||||
struct target_sigaltstack sigaltstack_used;
|
||||
|
||||
/* Start time of task after system boot in clock ticks */
|
||||
uint64_t start_boottime;
|
||||
} TaskState;
|
||||
|
||||
abi_long do_brk(abi_ulong new_brk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue