From patchwork Tue Oct 3 17:30:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 728773 Delivered-To: patch@linaro.org Received: by 2002:a5d:60c8:0:b0:31d:da82:a3b4 with SMTP id x8csp2263218wrt; Tue, 3 Oct 2023 10:39:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFudFzCMVTs0PZZyFPcexCjcSK3s/UhjPGWo0ZP5GXcaNEgsi+PCb80jHJ5ezDegbEeMDwk X-Received: by 2002:a05:6214:3f82:b0:656:3a95:5d99 with SMTP id ow2-20020a0562143f8200b006563a955d99mr51658qvb.18.1696354774899; Tue, 03 Oct 2023 10:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696354774; cv=none; d=google.com; s=arc-20160816; b=tnJtD9RBYwonp/+j6GFVRTy35AbyW3GiTpKIs0tp/Vhk94cg0x0QHf8vmtvdnVehZ7 AOP5e9KETdQgsw5XJ/uB5EbmO+GwF34cFs9oY60Jc7f4FHEwveU3sfSglZfzX/EnwsAp ckfAFfUPco8gpqIwe/u8VITgrOmfmz65HbHPmHSc20nMAbpmvqNGp3HqWsut875Fk2kp sMQQzIqoQiGouxgICoOmdM17hNbyfWOwCq1qEuTVB80d8BeIK/9jDH3I5AbyBw1p9CAm TywsgfSpGn4uiNyKllnm2rkDANL37HTeds2m6ewCd/bULCULdSPkAedXV6j5SfUM2tDV gtUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rCQObv9jj94bGM+uw0gpwPFUW1gAHzG1Iim/6umT+FE=; fh=HGG5jZNhe8Q+zQJ9+mddel2c/xsqW3vEoqbd78QYiOw=; b=XV3cedaPyBgaDFtEhYssd5sSYRneiZ5HhazNkBWgFqZJ7nNwvcJp3cvUSqCnOeEPEz 3m6MMhPuDs3tyulbKDdLWGA12nLb8GtxdR622x8LXVmR0HGuR5hepq2aosJtihjkVeG2 P4i33eh0qpkbX3yFm7mClKPEgZxfRCH/v5AmwlvYBg8ILTdhxjZELPhJo1j6Hth6Ip/A NHLb+6FT4WlHrlcFM4CB8bB+vYejozcZZjyAo9+BKUGmacCX/NxiksEo0YScOoSPhQZc gVIgSl2bBHfQbaKfiGFVyAxKRK0ojnBOAsStaqycuSwkjCT3jLyUzcE5HM3RYE0UB94s eu3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fz40KNil; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t6-20020a05622a01c600b004196fd5c552si705635qtw.558.2023.10.03.10.39.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Oct 2023 10:39:34 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fz40KNil; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnjFC-00006M-Vd; Tue, 03 Oct 2023 13:31:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnjF8-0008UY-03 for qemu-devel@nongnu.org; Tue, 03 Oct 2023 13:31:34 -0400 Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnjF5-0007Xd-7G for qemu-devel@nongnu.org; Tue, 03 Oct 2023 13:31:33 -0400 Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-57ba2cd3507so686064eaf.2 for ; Tue, 03 Oct 2023 10:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696354290; x=1696959090; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rCQObv9jj94bGM+uw0gpwPFUW1gAHzG1Iim/6umT+FE=; b=Fz40KNil10EwdxT8JvMwr4WVAbwdbfX3bZierP1myHPnlIzNgkzqBMhbUHEPE1c3Tb yXqhLDAukSWYnE6dNSHCyW5dvolUZ6+t5Wrbg5RKixR5LLrZAsqterH0jEZTqPyUo4AQ OrESOhhjGrBZBsNIbkcRik4z6P9NmxiwTD843ASMgQTYZUGcgB/SrYQzTq0wiJA7MuWF FF3J2skx7/IqQYHZekn9FBPDrIu2aC76eR8LGwBzbKVPIO8GHQvnfKS4EUho9yl4MfkI Dv8KGbIoL/f0EdAMscZ5t+Bq3UyqbDZNHYE+BrmiObNr8dbQAmfC5e6mXtnfNb4WlCLc Y32Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696354290; x=1696959090; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rCQObv9jj94bGM+uw0gpwPFUW1gAHzG1Iim/6umT+FE=; b=vixJYk4AA7b4ntR5TfilN6PfADzBavFV01wINeeWHvhszINPcMmGIt6/yRSJU/Qe7c vmT+wU1TphPYJXHLusysiKQ3+1jbQj9uFzJx8dhA5C4AYuTQ6vLTbrM6iu2XhnRzLPaf KNde86gcdwM39BmrTUP4PtQk0mtlJzFCvQYEMOo64KFXN1rzPKXRssxCWlAepXpgUd6Q YDFulxcxdRZk+ZH9BayYlWOSRwbSyNscVHNh/4Dhkek3QzvUrmmYYuRTTkQxWs+8SKBC xAbRDYq0psr48wIr9PXOhEhnOu8ffEdtci18gVz3f+CX7yrbrdSNedEszxjYlXl+p3PO 75rw== X-Gm-Message-State: AOJu0YwlbgtnjB8FX1XP28NiO50mjMJel/hc/b5XCijyQr685lAGqwmy JUxqPd89dETP+pNgjGywPbEh/w9asf22spe1lHY= X-Received: by 2002:a05:6358:910:b0:13a:bd3:3f85 with SMTP id r16-20020a056358091000b0013a0bd33f85mr103916rwi.23.1696354290216; Tue, 03 Oct 2023 10:31:30 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id n7-20020aa78a47000000b00692c5b1a731sm1620195pfa.186.2023.10.03.10.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 10:31:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Anton Johansson Subject: [PULL 33/47] accel/tcg: Restrict dump_exec_info() declaration Date: Tue, 3 Oct 2023 10:30:38 -0700 Message-Id: <20231003173052.1601813-34-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231003173052.1601813-1-richard.henderson@linaro.org> References: <20231003173052.1601813-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::c2f; envelope-from=richard.henderson@linaro.org; helo=mail-oo1-xc2f.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, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé In commit 00c9a5c2c3 ("accel/tcg: Restrict 'qapi-commands-machine.h' to system emulation") we moved the definition to accel/tcg/ which is where this function is called. No need to expose it outside. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Anton Johansson Message-Id: <20230914185718.76241-4-philmd@linaro.org> Signed-off-by: Richard Henderson --- accel/tcg/internal.h | 2 ++ include/exec/cpu-all.h | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/accel/tcg/internal.h b/accel/tcg/internal.h index 57ab397df1..f2fa52029e 100644 --- a/accel/tcg/internal.h +++ b/accel/tcg/internal.h @@ -105,6 +105,8 @@ static inline bool cpu_in_serial_context(CPUState *cs) extern int64_t max_delay; extern int64_t max_advance; +void dump_exec_info(GString *buf); + extern bool one_insn_per_tb; /** diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index b14255923b..5340907cfd 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -406,11 +406,6 @@ static inline bool tlb_hit(uint64_t tlb_addr, vaddr addr) return tlb_hit_page(tlb_addr, addr & TARGET_PAGE_MASK); } -#ifdef CONFIG_TCG -/* accel/tcg/translate-all.c */ -void dump_exec_info(GString *buf); -#endif /* CONFIG_TCG */ - #endif /* !CONFIG_USER_ONLY */ /* accel/tcg/cpu-exec.c */