summaryrefslogtreecommitdiff
path: root/configs/example/fs.py
diff options
context:
space:
mode:
authorDam Sunwoo <dam.sunwoo@arm.com>2013-10-17 10:20:45 -0500
committerDam Sunwoo <dam.sunwoo@arm.com>2013-10-17 10:20:45 -0500
commit1e2a455a2382065d6ada6d08e465ce6126ebbdcf (patch)
tree3bddbd8a64c6bc4aa6fcc33797369c729df84390 /configs/example/fs.py
parentbfdd031c0de3963c111488279905f0772f9f5319 (diff)
downloadgem5-1e2a455a2382065d6ada6d08e465ce6126ebbdcf.tar.xz
util: Streamline .apc project convertsion script
This Python script generates an ARM DS-5 Streamline .apc project based on gem5 run. To successfully convert, the gem5 runs needs to be run with the context-switch-based stats dump option enabled (The guest kernel also needs to be patched to allow gem5 interrogate its task information.) See help for more information.
Diffstat (limited to 'configs/example/fs.py')
-rw-r--r--configs/example/fs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 4d6d87eb8..4cfb3e8e2 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -114,6 +114,8 @@ elif buildEnv['TARGET_ISA'] == "arm":
test_sys = makeArmSystem(test_mem_mode, options.machine_type, bm[0],
options.dtb_filename,
bare_metal=options.bare_metal)
+ if options.enable_context_switch_stats_dump:
+ test_sys.enable_context_switch_stats_dump = True
else:
fatal("Incapable of building %s full system!", buildEnv['TARGET_ISA'])