From nobody Tue Feb 10 22:17:49 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 (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528765016777705.452270758876; Mon, 11 Jun 2018 17:56:56 -0700 (PDT) Received: from localhost ([::1]:52025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSXcG-00007S-49 for importer@patchew.org; Mon, 11 Jun 2018 20:56:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSXXZ-00051u-79 for qemu-devel@nongnu.org; Mon, 11 Jun 2018 20:52:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSXXW-0007KG-Tt for qemu-devel@nongnu.org; Mon, 11 Jun 2018 20:52:05 -0400 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:42170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSXXW-0007Ji-O3 for qemu-devel@nongnu.org; Mon, 11 Jun 2018 20:52:02 -0400 Received: by mail-pf0-x244.google.com with SMTP id w7-v6so11133547pfn.9 for ; Mon, 11 Jun 2018 17:52:02 -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 l26-v6sm43362802pgn.55.2018.06.11.17.51.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Jun 2018 17:52:00 -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 :mime-version:content-transfer-encoding; bh=hH8QigC+q35bIyhukhRUrE8DEOH4jeKJ9AJrWVs2Mm8=; b=eFvYSdPjuROSPBOJO+pCQg2SxeJJZzMv+ZFvbUlv3epR9lP/Mw7DCr9KPZssxGcLeR CUHUXbdZcClAOfWdMaFxVPCFmrCSuKdSAiqFIMwzQZ5h83ckz6CcFAhgCUhCFfejccnP xhwEMLfPN4ev97vWzLfQ5Ie4ViQCiDQuFxHp8= 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:mime-version:content-transfer-encoding; bh=hH8QigC+q35bIyhukhRUrE8DEOH4jeKJ9AJrWVs2Mm8=; b=U7UrwgNr/NhR1L3uDXYsv8JGfzI22XcCgJEf9tIxEjjJdko4C1iuad/OGryxq8k3KB IFn/bZytkVOpuOoI3rGNjbVgkzV3SwGieXRJ3tvoNP9FXQwl5a7FN0iuBwX7z5mGrFfa QgtC8F7Sn9LHB/nxTZahfKhbavFQ+Z27k5SrfGl6EHMWbkKn+xmMihippYMStslQks91 H6RAYunuwalwS8UQVKROVfyCgAb4rIVDQ6LZhKmYxcCgufcV+HECX4oLfZKLMufmK9lA Dg5OMG0zyIg/e1JvnL2yT9PzDXuMG5WrUsiTxqXwENwHCVN7NQSuuZIagDYEEvJZENct HoxQ== X-Gm-Message-State: APt69E2zxS0+h/FOz0n0c3YbtUq8Bz130K9XwTV+IDUKTFPMzmHEIayL GYc9gilFoVWrGefGZgLSi3kYqlHux6A= X-Google-Smtp-Source: ADUXVKJ8AdTzcH3OzaEogOPP5BPfTfgKeA46lNUga5ARDfTlHoDknKQMiAEzjLVQi+jAt7mhQ6/KgQ== X-Received: by 2002:a63:b956:: with SMTP id v22-v6mr1217179pgo.438.1528764721413; Mon, 11 Jun 2018 17:52:01 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 11 Jun 2018 14:51:31 -1000 Message-Id: <20180612005145.3375-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180612005145.3375-1-richard.henderson@linaro.org> References: <20180612005145.3375-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::244 Subject: [Qemu-devel] [PATCH v3 05/19] 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: peter.maydell@linaro.org, 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 This is redundant with both -strace and actual tracing. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Laurent Vivier Signed-off-by: Richard Henderson --- 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