From 1e2a455a2382065d6ada6d08e465ce6126ebbdcf Mon Sep 17 00:00:00 2001 From: Dam Sunwoo Date: Thu, 17 Oct 2013 10:20:45 -0500 Subject: 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. --- configs/common/Options.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configs/common') diff --git a/configs/common/Options.py b/configs/common/Options.py index cb9fc4988..2cca4ef57 100644 --- a/configs/common/Options.py +++ b/configs/common/Options.py @@ -232,6 +232,10 @@ def addFSOptions(parser): parser.add_option("--dtb-filename", action="store", type="string", help="Specifies device tree blob file to use with device-tree-"\ "enabled kernels") + parser.add_option("--enable-context-switch-stats-dump", \ + action="store_true", help="Enable stats dump at context "\ + "switches and dump tasks file (required for Streamline)") + # Benchmark options parser.add_option("--dual", action="store_true", help="Simulate two systems attached with an ethernet link") -- cgit v1.2.3