From 355b2ee8f0c1058d4b36857e50bc9be13f810012 Mon Sep 17 00:00:00 2001 From: Pau Cabre Date: Wed, 19 Jul 2017 22:59:05 +0200 Subject: configs,sim-se: fix se.py multi-cpu multi-cmd issue Assign different pids to the different commands specified with the "--cmd" flag to configs/example/se.py Without this change, the following command line triggers a "fatal: _pid 100 is already used" error: command=$PWD/tests/test-progs/hello/bin/arm/linux/hello ./build/ARM/gem5.opt configs/example/se.py -n 2 -c "$command;$command" Change-Id: If6f726481eb196d4f42680b6aa46364fce4190ed Signed-off-by: Pau Cabre Reviewed-on: https://gem5-review.googlesource.com/4160 Reviewed-by: Brandon Potter Maintainer: Brandon Potter --- configs/example/se.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/example/se.py b/configs/example/se.py index 0fc7d7459..7a19e5aef 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -91,7 +91,7 @@ def get_processes(options): idx = 0 for wrkld in workloads: - process = Process() + process = Process(pid = 100 + idx) process.executable = wrkld process.cwd = os.getcwd() -- cgit v1.2.3