Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83D98C07E9B for ; Wed, 7 Jul 2021 00:20:52 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F106B619B9 for ; Wed, 7 Jul 2021 00:20:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F106B619B9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:49790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0vJ4-0006u6-QJ for qemu-devel@archiver.kernel.org; Tue, 06 Jul 2021 20:20:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0v6e-0000yg-Ga for qemu-devel@nongnu.org; Tue, 06 Jul 2021 20:08:01 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:38870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0v6c-0007qa-VX for qemu-devel@nongnu.org; Tue, 06 Jul 2021 20:08:00 -0400 Received: by mail-pg1-x52d.google.com with SMTP id h4so440750pgp.5 for ; Tue, 06 Jul 2021 17:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=OrJKC3ek7k8X9hygoXhJCsq0XwIcKu6IF5/uack+q7c=; b=yzuUSqqM1kCy5W7vmjPg7bD5ljgjoDWHbAgERXlSCfg5L4E6IWeioLVycAgzFTI6lc 8J4y+7qWfl7waU9wt4NNbmqqWP+V7kWFV6/7eCkLRCcGzsVyRkZJjAbn4Dt4Dq7rf1wB mT/UdZ+ayZtqb9FDATATneBoU0FEChRBj/tNAxJC5qGsb8/VFIiuzI8x0ps50VCc9l81 fEQ/3vBo0Ymoot4dFxkv3+IsRoxv+thaLC9x03C3qppj1S0gQ8YEk5tXtQ2cvVsQaM6s EqKWVyKNRE//B0vQ9ilO7gPsH8djkA/V72Nl2Mw8ZpnFjhXArLYhDTQ5BlvSY6zRSArm f7Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OrJKC3ek7k8X9hygoXhJCsq0XwIcKu6IF5/uack+q7c=; b=bhW7nfdSNZXO3VuL2ExJxl7ejGF/jnTJXi5eFqSzniM0TpbVjCE/HMW8tZTr/lHMGw aIWd/kzWYocvk2zYbMu8jzVXFBfdIybvJk1NZi6nfxHYFubDKUb4BQnIXO9xitxo8jLY 1SH1DP+Jwpo9NXLddDnGnaVPXD+oLvm8HhCWv3wA+e06NbXw8KDbrNP7h/ANaUtWAjyw Uq09Urmcl0JtAUf9jFQ6Hth5cUMtgfufgdhaFmginuY9jLiAoYds32AKVKIZNhQqFLE6 Q8VHnlo2p5OXJr4oVEvQYl4g+bjU0mhASOPW+tkE1r4Qqcj7vJW6soeN5ewub4neVRwt mpkg== X-Gm-Message-State: AOAM533D+LKG846aXSBN680W2j+aM8WTkjkg0EGo1kBiMohXsJxfij7g wM1j3Z/Ojd6Jx7hxb/d9Y21NpKpfTTUrQA== X-Google-Smtp-Source: ABdhPJzvbNIEBBODThsJ/J4saHJQ0P2+kyXH3mkYh4JcuaBV32lMzscA2/VtIqULFWLKSRdFRbQCsg== X-Received: by 2002:a62:ab10:0:b029:31e:4a34:b78f with SMTP id p16-20020a62ab100000b029031e4a34b78fmr14272805pff.69.1625616477241; Tue, 06 Jul 2021 17:07:57 -0700 (PDT) Received: from [192.168.1.11] ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id k19sm15821141pji.32.2021.07.06.17.07.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jul 2021 17:07:56 -0700 (PDT) Subject: Re: [PATCH v2] tcg: Avoid including 'trace-tcg.h' in target translate.c To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org References: <20210629050935.2570721-1-f4bug@amsat.org> From: Richard Henderson Message-ID: Date: Tue, 6 Jul 2021 17:07:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210629050935.2570721-1-f4bug@amsat.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 6/28/21 10:09 PM, Philippe Mathieu-Daudé wrote: > The root trace-events only declares a single TCG event: > > $ git grep -w tcg trace-events > trace-events:115:# tcg/tcg-op.c > trace-events:137:vcpu tcg guest_mem_before(TCGv vaddr, uint16_t info) "info=%d", "vaddr=0x%016"PRIx64" info=%d" > > and only a tcg/tcg-op.c uses it: > > $ git grep -l trace_guest_mem_before_tcg > tcg/tcg-op.c > > therefore it is pointless to include "trace-tcg.h" in each target > (because it is not used). Remove it. > > Signed-off-by: Philippe Mathieu-Daudé > --- > v2: Rebased due to mips-next conflict (was already queued) > --- Queued, thanks. r~