diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-11-13 15:43:52 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-11-13 15:45:03 +0100 |
commit | b89031e087a47819be48028e62cebade5f9fb75b (patch) | |
tree | 9dad3fee30d0d7092ca48357bccaa34237179dde /tools/perf/perf.c | |
parent | ccaf6553963bc6304d5820962a08a4397d0a2dc2 (diff) |
[S390] reset cputime accounting after IPL from NSS
After an IPL from NSS the uptime of the system is incorrect. The reason
is that the startup code in head.S is not executed in case of an IPL
from NSS. Due to that sched_clock_base_cc which is used to initialze
wall_to_monotonic contains the time stamp when the NSS has been created
instead of the time stamp of the system start.
Reinitialize the cputime accounting values in create_kernel_nss after
the SAVESYS CP command that created the NSS segment.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/perf.c')
0 files changed, 0 insertions, 0 deletions