summaryrefslogtreecommitdiffstats
path: root/src/build
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-05-10 14:27:15 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-22 12:14:05 -0400
commit9b5ffd0484a07bcfc71ce265783a8b61d80ac6ad (patch)
treefbad2dfa34965424387369f3eb3906b331f3cc0d /src/build
parent494c9f4865d27c4165fdb1b2aec7020be2813ac0 (diff)
downloadtalos-hostboot-9b5ffd0484a07bcfc71ce265783a8b61d80ac6ad.tar.gz
talos-hostboot-9b5ffd0484a07bcfc71ce265783a8b61d80ac6ad.zip
Add timestamps to Simics Istep messages
Also added entries for -kernel startup -cxx testcase start (99.1) -shutdown Change-Id: I870961ae8ea0b43003db6bafb21addf660ab99ef Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40346 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build')
-rwxr-xr-xsrc/build/debug/simics-debug-framework.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build/debug/simics-debug-framework.py b/src/build/debug/simics-debug-framework.py
index ced40566e..653b56678 100755
--- a/src/build/debug/simics-debug-framework.py
+++ b/src/build/debug/simics-debug-framework.py
@@ -591,7 +591,9 @@ def magic_instruction_callback(user_arg, cpu, arg):
# Print current istep out to simics console
major_istep = cpu.r4
minor_istep = cpu.r5
- print "ISTEP %d.%d" % (major_istep, minor_istep)
+ percent_s = "%s"
+ dateCommand = "shell \" date +'%s > ISTEP %d.%d' \""%(percent_s,major_istep,minor_istep)
+ SIM_run_alone(run_command, dateCommand )
if arg == 7055: # MAGIC_CONTINUOUS_TRACE
hb_tracBinaryBuffer = cpu.r4
OpenPOWER on IntegriCloud