From 062d1cf0857d577be583d4ac8192ce6e967c819b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sun, 14 Jul 2019 00:00:07 +0000 Subject: [PATCH] bisect-gem5-linux-boot: use --gem5-worktree instead of --gem5-build-id --- bisect-gem5-linux-boot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bisect-gem5-linux-boot b/bisect-gem5-linux-boot index edc61960..e11c5e4a 100755 --- a/bisect-gem5-linux-boot +++ b/bisect-gem5-linux-boot @@ -2,12 +2,12 @@ # https://cirosantilli.com/linux-kernel-module-cheat#bisection set -eu root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" -"${root_dir}/build-gem5" --arch aarch64 --gem5-build-id bisect --clean -"${root_dir}/build-gem5" --arch aarch64 --gem5-build-id bisect +"${root_dir}/build-gem5" --arch aarch64 --gem5-worktree bisect --clean +"${root_dir}/build-gem5" --arch aarch64 --gem5-worktree bisect set +e # Setup for quick failures: # https://stackoverflow.com/questions/4713088/how-to-use-git-bisect/22592593#22592593 -timeout 400 "${root_dir}/run" --emulator gem5 --gem5-build-id bisect --quit-after-boot "$@" +timeout 5 "${root_dir}/run" --emulator gem5 --gem5-worktree bisect --quit-after-boot "$@" if [ $? -ne 124 ]; then exit 1 fi