configs,sim-se: fix se.py multi-cpu multi-cmd issue
authorPau Cabre <pau.cabre@metempsy.com>
Wed, 19 Jul 2017 20:59:05 +0000 (22:59 +0200)
committerPau Cabre <pau.cabre@metempsy.com>
Tue, 25 Jul 2017 07:22:11 +0000 (07:22 +0000)
commit355b2ee8f0c1058d4b36857e50bc9be13f810012
tree1a38f0452a9a0b6a3f11e22d727fb3d2911b8d28
parent8e8ad9daa3d7b35e0b570361dfce6f2ac1a8d8fe
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 <pau.cabre@metempsy.com>
Reviewed-on: https://gem5-review.googlesource.com/4160
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
configs/example/se.py