From ef387e080a3484bee9daf7615affb9e8df4375fb Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 8 Jul 2018 15:01:03 +0200 Subject: syz-manager: don't print loop state on info requests Printing loop state on info requests (e.g. due to http requests) is somewhat confusing as no state change actually happens. --- syz-manager/manager.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syz-manager/manager.go b/syz-manager/manager.go index 932513065..a21abe70d 100644 --- a/syz-manager/manager.go +++ b/syz-manager/manager.go @@ -408,6 +408,7 @@ func (mgr *Manager) vmLoop() { stopRequest = mgr.vmStop } + wait: select { case stopRequest <- true: log.Logf(1, "loop: issued stop request") @@ -460,12 +461,14 @@ func (mgr *Manager) vmLoop() { case reply := <-mgr.needMoreRepros: reply <- phase >= phaseTriagedHub && len(reproQueue)+len(pendingRepro)+len(reproducing) == 0 + goto wait case reply := <-mgr.reproRequest: repros := make(map[string]bool) for title := range reproducing { repros[title] = true } reply <- repros + goto wait } } } -- cgit mrf-deployment