From nobody Wed Feb 11 01:09:17 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528599881687870.9242471193003; Sat, 9 Jun 2018 20:04:41 -0700 (PDT) Received: from localhost ([::1]:42174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRqec-0002gN-0c for importer@patchew.org; Sat, 09 Jun 2018 23:04:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRqch-0001VI-9h for qemu-devel@nongnu.org; Sat, 09 Jun 2018 23:02:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRqcf-00035n-P1 for qemu-devel@nongnu.org; Sat, 09 Jun 2018 23:02:31 -0400 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:42517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRqcf-00035b-IT for qemu-devel@nongnu.org; Sat, 09 Jun 2018 23:02:29 -0400 Received: by mail-pg0-x241.google.com with SMTP id c10-v6so2507859pgu.9 for ; Sat, 09 Jun 2018 20:02:29 -0700 (PDT) Received: from cloudburst.twiddle.net (rrcs-173-198-77-219.west.biz.rr.com. [173.198.77.219]) by smtp.gmail.com with ESMTPSA id y17-v6sm31712718pfe.33.2018.06.09.20.02.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Jun 2018 20:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nc8xWXUdkiMLiKu/AUrUH1Pr6L00YHRjLLeytlE0ns8=; b=YBoSnDpLzaOxHI8+a8UYUhqMeu81zLePU1VGIMQlR75ZiM6EFIA+EZXKYRD139a0gS Dkk3M97SbT8SkQxLAZOjdrKZR0GsRXVOJTFkeZutgaP1y7GK9sGK+9uNsrm8H6JAs1wm 8XLNgKvOn9XJZIoLXG318bx93gUAUsBqjhHBI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nc8xWXUdkiMLiKu/AUrUH1Pr6L00YHRjLLeytlE0ns8=; b=AejtTailbaWb9W2pnA3b9uJqRdFtbvGveITCWk2b9DTyxbyNQDUvkxjSTM2A5HK0mR kxEH7/Bgtvo4OO3ejSPifI4bmQVtf1ydHQZBj7D40zjj+OKSI9B62g7qcWoDqclxSflm lQf+G8TjMhsYViYnGYx5MABSwhBNzY0PjsNI8jZXsHCiupmgNqNLqAOILUjesw/POK1i bfXLLMvQgKCGr+gS5YVK3hMzx8ncWd2RZennSldLf5lss/RaBzcVoQNxqcGesl3z0wFv Uh6daq/Wwe4bDpZZiRFh7N6u2yK4qZAE/qgKCchlP/utBoJh1SaV0VH/KdIfc20200F8 3EUw== X-Gm-Message-State: APt69E3lPmB9qqmByLGHehlilH8Vq8LA+e8t1dpWU9nVTv6mMHGbqceZ r16Dza0YBrxxyQJ9/d5o6StkWM9XynA= X-Google-Smtp-Source: ADUXVKJDVRx+oYtjfM6GNlNL3whA19AkOikxHVmYbkKNbmBec0dK/FpJUKeQ0t7kEhLJJnLOimtihw== X-Received: by 2002:a63:12:: with SMTP id 18-v6mr10594894pga.121.1528599748167; Sat, 09 Jun 2018 20:02:28 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 9 Jun 2018 17:00:33 -1000 Message-Id: <20180610030220.3777-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610030220.3777-1-richard.henderson@linaro.org> References: <20180610030220.3777-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::241 Subject: [Qemu-devel] [PATCH v2 001/108] linux-user: Remove DEBUG X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: laurent@vivier.eu Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This is redundant with both -strace and actual tracing. Signed-off-by: Richard Henderson Reviewed-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- linux-user/syscall.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7b9ac3b408..c212149245 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -163,7 +163,6 @@ * (The one remaining unallocated bit is 0x1000 which used to be CLONE_PID= .) */ =20 -//#define DEBUG /* Define DEBUG_ERESTARTSYS to force every syscall to be restarted * once. This exercises the codepaths for restart. */ @@ -5777,9 +5776,6 @@ static abi_long do_ioctl(int fd, int cmd, abi_long ar= g) ie++; } arg_type =3D ie->arg_type; -#if defined(DEBUG) - gemu_log("ioctl: cmd=3D0x%04lx (%s)\n", (long)cmd, ie->name); -#endif if (ie->do_ioctl) { return ie->do_ioctl(ie, buf_temp, fd, cmd, arg); } else if (!ie->host_cmd) { @@ -7980,9 +7976,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long = arg1, } #endif =20 -#ifdef DEBUG - gemu_log("syscall %d", num); -#endif trace_guest_user_syscall(cpu, num, arg1, arg2, arg3, arg4, arg5, arg6,= arg7, arg8); if(do_strace) print_syscall(num, arg1, arg2, arg3, arg4, arg5, arg6); @@ -12772,9 +12765,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_lon= g arg1, break; } fail: -#ifdef DEBUG - gemu_log(" =3D " TARGET_ABI_FMT_ld "\n", ret); -#endif if(do_strace) print_syscall_ret(num, ret); trace_guest_user_syscall_ret(cpu, num, ret); --=20 2.17.1