From patchwork Fri May 15 14:43:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 186847 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp502089ilb; Fri, 15 May 2020 07:47:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0fGK2EFwBHdCXmzaDjqvhHtJYNmxr/15zrpdeDjb8hbN20TSghn08Vh14qMN/yDiBvtph X-Received: by 2002:ac8:2f64:: with SMTP id k33mr3795133qta.105.1589554077827; Fri, 15 May 2020 07:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589554077; cv=none; d=google.com; s=arc-20160816; b=faKmkbCqoFB/eEN2lVvg+DfWJ68EuBxrapYwYy8NAfbEwmdH5Bz3k07EC9+91Tb5EX J3seeO625z9m91JVC5eRVi24zwoLgYi9hYWGOX7Bl4HPT8MH+QIyYFdnpSqHslEgUGAZ W+BdvzU+E3a3hjInP5mIXRChmO8MvEgYSxhPCEno7mAKGhiuo+T6hOG+UzPo+FocrByT aBqSzRqeY4bFCgzOfyF/E8tAoJSokbODyMaNp29ExPWAmjbEwwEQGgmHXNiwkmjf7MpK NwQ2lh8O/PFzEXPEydPBNjW5kjLDdr7O72Asnv9q3uHk5Z6FxKJv9ZInUxMQZDwzSQ9r iV2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=shIR+tStLvvJHR4Gop6YH3kVk2PMh0U4kUFwicdynrY=; b=S5DDJq8vWjyIFt4QpuXLmBwzcS68ceEB892LAHQsBy9ugit4ByY2KI+ND8DNTWEz8I xWy1x4S9/n386CxlSy36BQo6j8xlbOL7C+FbFAwgH8NOaDkpJEFSe7dPv1p1le86L7QV 2EwifRHirbGmrNtrCbTymiFJ1bBAFj+5FK4d6zucecOXKEIlwol153yfxcECaT9naFF/ 27eNTWQ8x0kWlkxg7urHaonHuc8Y0vqke0A6m+38b5Xr19ddZcOalMjegtWkEGbb+d+f s9TonY8WS0Whem3wvbywGwU3vsezgaqHLBVl5YnaG+SOVQeRwKaxGoz46pxWgrYScCMY at2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=v6Ihq+HM; 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=fail (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 s131si1268168qke.265.2020.05.15.07.47.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 May 2020 07:47:57 -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=fail header.i=@linaro.org header.s=google header.b=v6Ihq+HM; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:58780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZbcy-00086v-MY for patch@linaro.org; Fri, 15 May 2020 10:47:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZbZS-0002Pp-Hw for qemu-devel@nongnu.org; Fri, 15 May 2020 10:44:18 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:40785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZbZQ-0000yo-J2 for qemu-devel@nongnu.org; Fri, 15 May 2020 10:44:18 -0400 Received: by mail-wr1-x42b.google.com with SMTP id e16so3843600wra.7 for ; Fri, 15 May 2020 07:44:16 -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=shIR+tStLvvJHR4Gop6YH3kVk2PMh0U4kUFwicdynrY=; b=v6Ihq+HMqawdA8xXa+LH7phlq10TP3+j0uU+vmjmsetX5aowjTMFnTUDJQ49Onn5TD S1o7SwlWhPXhyj/emZgC8CswixlHLC0q4zU7ov95tyaSyw+2m51LkvoIpadn7rwVpdUA AtaULYlIhoDP7D4ITZYdTuONU5/D8zyGXE87sByhHoqCNlnv1Cm+LhO0R+aElAZ+sCWt f7sFOLfaSylLEbNT/J6fsxze/NtExFNHXc0pU+jWaptUZjztJKwEEQLZu1nPMIibVaDK pMgF1GykwwL7RVJLHR/1ABwJufCGUaeNz1JCkMBOTSUo6Yi9VY3HztmOR/aj6MaMS9h0 TWzA== 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=shIR+tStLvvJHR4Gop6YH3kVk2PMh0U4kUFwicdynrY=; b=XE9eaAY4acPZhOUGxeXB6otK9QvYUti/4adiA//FJDOhEq4h6xIffy41NSk/CGxVt1 Du2NmwdXVVHmBShlRooa1Y1Jf/Wvqk+0u074an6eMSsfJksbaxdfKkSlb050k9qBJR7s 6hqwCYNvbcPkdqoj2+qR/lEe45KNUL8MoeUHrQbKdW3t3HOp1ou3Va4yLFayl6AvmRfv d0Pm/KVtyWPEpM/Gu0eZ7KReX3VqFVwIbSoQdGEamoV8nK0NvwyguEYDTAhztClXyl2f PPiQHxyZCPMIrO6h+lIQC5eeBUfuu8HFcWX0wYTwgj/CB8C0WOipeVItnDMBPWuCWcBP cwjA== X-Gm-Message-State: AOAM530DznDzsmEr6CpnfNMqqs93gkd6eVlAzaXMWM3vgvjjiOPYAhhZ ZZcjPzfVocVYbULhQk6hvkoHSw== X-Received: by 2002:a5d:5011:: with SMTP id e17mr5017213wrt.347.1589553855265; Fri, 15 May 2020 07:44:15 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b19sm4182142wmd.26.2020.05.15.07.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 07:44:12 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B54DA1FF92; Fri, 15 May 2020 15:44:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v2 06/13] accel/tcg: don't disable exec_tb trace events Date: Fri, 15 May 2020 15:43:58 +0100 Message-Id: <20200515144405.20580-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200515144405.20580-1-alex.bennee@linaro.org> References: <20200515144405.20580-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" I doubt the well predicted trace event check is particularly special in the grand context of TCG code execution. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20200513175134.19619-8-alex.bennee@linaro.org> -- 2.20.1 diff --git a/accel/tcg/trace-events b/accel/tcg/trace-events index 01852217a66..385b9f749b8 100644 --- a/accel/tcg/trace-events +++ b/accel/tcg/trace-events @@ -1,10 +1,10 @@ # See docs/devel/tracing.txt for syntax documentation. -# TCG related tracing (mostly disabled by default) +# TCG related tracing # cpu-exec.c -disable exec_tb(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR -disable exec_tb_nocache(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR -disable exec_tb_exit(void *last_tb, unsigned int flags) "tb:%p flags=0x%x" +exec_tb(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR +exec_tb_nocache(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR +exec_tb_exit(void *last_tb, unsigned int flags) "tb:%p flags=0x%x" # translate-all.c translate_block(void *tb, uintptr_t pc, uint8_t *tb_code) "tb:%p, pc:0x%"PRIxPTR", tb_code:%p"