From nobody Wed Nov 5 09:26:54 2025 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; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1534483249795679.0945762630532; Thu, 16 Aug 2018 22:20:49 -0700 (PDT) Received: from localhost ([::1]:59989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqXBh-00035J-4v for importer@patchew.org; Fri, 17 Aug 2018 01:20:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqXA8-0000dA-OU for qemu-devel@nongnu.org; Fri, 17 Aug 2018 01:19:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fqXA7-0005bT-IN for qemu-devel@nongnu.org; Fri, 17 Aug 2018 01:19:04 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39763) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fqXA7-0005Yj-Bn for qemu-devel@nongnu.org; Fri, 17 Aug 2018 01:19:03 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id F196421EDA; Fri, 17 Aug 2018 01:18:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 17 Aug 2018 01:18:57 -0400 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 98DC310268; Fri, 17 Aug 2018 01:18:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=aQRqgO/wB7hxSX zM7C04XSBCi1sR3cSEr9lN93OtGVk=; b=rxZR47lItBOcC6v0Mz6t28UWC/Zks2 7l1UDeweE0ZG7E7/9hOZBcSDfI4Zja7x5DeLk42MdQW1JSnyE9dSiSv1XVqbZYUu HsABpmgJXUZOjDGgwiUrK/q97eFSEc72bWx8d9dRTKJVoq53B9n7jQxwhs/gKAR4 ykjIuVaFZeZzM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=aQRqgO/wB7hxSXzM7C04XSBCi1sR3cSEr9lN93OtGVk=; b=q9px7fmL vB7Bi3LThaJSirzgEL58AO58A6EWDOUPICMndGhUUBHsT6DDeQOMFs0XlnIRP3pm kzBZLr9TnJkYAq1d2UBN4bd0uQyWhWVv+pnip+ex+VSCQKOdMnBY9c1NyitgcQ7X LQpBXuoshzRXXiQiOxhPhhe4YS2sV2BopEc5ORu0rT0Rxh32v+82vMX7iIcMNbYa yVyIteC1mspOnOwjlOVYazHTrvl7sEPD5EAlmHhA2ERKm+MHU0AfZuqstfzJwIm8 wI7Jrs98xjllJVBqlS9dPtocSFErEy55To38rxEeyIVMIIVdBGyJ7x02nP1V5zZV UF1Fo14zfFO0uA== X-ME-Proxy: X-ME-Sender: From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Fri, 17 Aug 2018 01:18:51 -0400 Message-Id: <20180817051853.23792-8-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180817051853.23792-1-cota@braap.org> References: <20180817051853.23792-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.25 Subject: [Qemu-devel] [PATCH 7/9] vl: add -enable-sync-profile 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: Fam Zheng , Peter Crosthwaite , Stefan Weil , "Dr. David Alan Gilbert" , Peter Xu , Markus Armbruster , Paolo Bonzini , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Emilio G. Cota --- vl.c | 3 +++ qemu-options.hx | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/vl.c b/vl.c index 16b913f9d5..5f4e24f29b 100644 --- a/vl.c +++ b/vl.c @@ -3959,6 +3959,9 @@ int main(int argc, char **argv, char **envp) exit(1); } break; + case QEMU_OPTION_enable_sync_profile: + qsp_enable(); + break; case QEMU_OPTION_nodefconfig: case QEMU_OPTION_nouserconfig: /* Nothing to be parsed here. Especially, do not error out= below. */ diff --git a/qemu-options.hx b/qemu-options.hx index ea4edb4938..466a61d384 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3963,6 +3963,16 @@ Dump json-encoded vmstate information for current ma= chine type to file in @var{file} ETEXI =20 +DEF("enable-sync-profile", 0, QEMU_OPTION_enable_sync_profile, + "-enable-sync-profile\n" + " enable synchronization profiling\n", + QEMU_ARCH_ALL) +STEXI +@item -enable-sync-profile +@findex -enable-sync-profile +Enable synchronization profiling. +ETEXI + STEXI @end table ETEXI --=20 2.17.1