From d02a9221eacd9cb347a7aa33322189ad84a588c9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 15 Oct 2020 09:26:40 +0200 Subject: pkg/host: don't log every syscall name twice Logging every syscall name we are checking twice is not too useful and consumes tons of log space. --- pkg/host/syscalls_linux.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'pkg/host/syscalls_linux.go') diff --git a/pkg/host/syscalls_linux.go b/pkg/host/syscalls_linux.go index 998f6f96c..ff41da68b 100644 --- a/pkg/host/syscalls_linux.go +++ b/pkg/host/syscalls_linux.go @@ -16,13 +16,11 @@ import ( "syscall" "time" - "github.com/google/syzkaller/pkg/log" "github.com/google/syzkaller/pkg/osutil" "github.com/google/syzkaller/prog" ) func isSupported(c *prog.Syscall, target *prog.Target, sandbox string) (bool, string) { - log.Logf(2, "checking support for %v", c.Name) if strings.HasPrefix(c.CallName, "syz_") { return isSupportedSyzkall(c, target, sandbox) } @@ -94,7 +92,6 @@ func parseKallsyms(kallsyms []byte, arch string) map[string]bool { matches := re.FindAllSubmatch(kallsyms, -1) for _, m := range matches { name := string(m[2]) - log.Logf(2, "found in kallsyms: %v", name) set[name] = true } return set -- cgit mrf-deployment