diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-08-16 22:17:23 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-08-16 22:17:23 -0400 |
commit | 76ab1c466c0b51abb6c7508d4d6ceb16a75d3a60 (patch) | |
tree | f52ba99220a92655b2073e0fcffd252ddfa5cb7a /configs/example | |
parent | 402fbda3df18ff1e4581d441a7ddd59f006926c0 (diff) | |
download | gem5-76ab1c466c0b51abb6c7508d4d6ceb16a75d3a60.tar.xz |
add etherdump file option
--HG--
extra : convert_revision : 6b62398778208bc4e64582e06fb73b71a94f3014
Diffstat (limited to 'configs/example')
-rw-r--r-- | configs/example/fs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index 7c888c536..958fc4353 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -47,6 +47,9 @@ parser.add_option("-b", "--benchmark", action="store", type="string", dest="benchmark", help="Specify the benchmark to run. Available benchmarks: %s"\ % DefinedBenchmarks) +parser.add_option("--etherdump", action="store", type="string", dest="etherdump", + help="Specify the filename to dump a pcap capture of the ethernet" + "traffic") (options, args) = parser.parse_args() @@ -90,7 +93,7 @@ if len(bm) == 2: s2 = makeLinuxAlphaSystem(mem_mode, bm[1]) s2.cpu = cpu2 cpu2.connectMemPorts(s2.membus) - root = makeDualRoot(s1, s2) + root = makeDualRoot(s1, s2, options.etherdump) elif len(bm) == 1: root = Root(clock = '1THz', system = makeLinuxAlphaSystem(mem_mode, bm[0])) |