mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
run: support multiple simultaneous runs and run output directories
This commit is contained in:
17
gem5-shell
17
gem5-shell
@@ -1,4 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
offset="${1:-0}"
|
||||
base=3456
|
||||
telnet localhost $(($base + $offset))
|
||||
. common
|
||||
while getopts n: OPT; do
|
||||
case "$OPT" in
|
||||
n)
|
||||
common_run_id="$OPTARG"
|
||||
;;
|
||||
?)
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
done
|
||||
shift "$(($OPTIND - 1))"
|
||||
set_common_vars -n "$common_run_id" "$arch" true
|
||||
telnet localhost "$common_gem5_telnet_port"
|
||||
|
||||
Reference in New Issue
Block a user