diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/common/Options.py | 4 | ||||
-rw-r--r-- | configs/example/fs.py | 2 |
2 files changed, 6 insertions, 0 deletions
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") 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']) |