Re: [PATCH v2] linux-user: Implement starttime field in self stat emulation

2022-01-27 Thread Laurent Vivier
Le 27/01/2022 à 21:58, Cameron Esfahani a écrit : Instead of always returning 0, return actual starttime. v2: Use clock_gettime() instead of scanning /proc/self/stat Signed-off-by: Cameron Esfahani --- linux-user/main.c| 11 +++ linux-user/qemu.h| 3 +++ linux-user/syscall

[PATCH v2] linux-user: Implement starttime field in self stat emulation

2022-01-27 Thread Cameron Esfahani
Instead of always returning 0, return actual starttime. v2: Use clock_gettime() instead of scanning /proc/self/stat Signed-off-by: Cameron Esfahani --- linux-user/main.c| 11 +++ linux-user/qemu.h| 3 +++ linux-user/syscall.c | 3 +++ 3 files changed, 17 insertions(+) diff --