From nobody Mon Feb 9 12:09:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.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 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1567097601; cv=none; d=zoho.com; s=zohoarc; b=aCOiNLsYJOVceLO1quqfBKI2P65tDqGyShtnnvBpOvr+ZipFfXROC/Sujli0CFwufShHywXm1FMRQqysyy8DTrRzHv/x2uXX1NG1MFrr5oW6ywF7b8zLxHOx3G3NuFP13a6HWCUANiaj8bN/Py5ZyW7eog/0JYt6dzBc3K//Ejs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567097601; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=trBE4Pt415G810pTzI+AXLcczqBsJRYpVn3faZnlzM8=; b=Kg2UVvtegf9wW6PYS2v/HdyDx8Mtw6+4B5jWPuptwp2Ci3TZngxSRhZz5X0WEdBeELrcxBCzVd/ZFTYqDiZ1hT/bvtOjjr8vUap3RGMS5fezkIuvzLgYGMR3hciJv4GnO+E7hTLYCN62PyqJTW/ETjomx9VYfwPf/b6/jAcbv1I= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1567097601646662.7528475014752; Thu, 29 Aug 2019 09:53:21 -0700 (PDT) Received: from localhost ([::1]:52068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3Nfk-0003br-1Z for importer@patchew.org; Thu, 29 Aug 2019 12:53:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46544) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3Nb3-0006P8-EH for qemu-devel@nongnu.org; Thu, 29 Aug 2019 12:48:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3Nb2-0006LB-2R for qemu-devel@nongnu.org; Thu, 29 Aug 2019 12:48:29 -0400 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]:40618) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i3Nb1-0006Kt-Ul for qemu-devel@nongnu.org; Thu, 29 Aug 2019 12:48:28 -0400 Received: by mail-qk1-x743.google.com with SMTP id f10so3549724qkg.7 for ; Thu, 29 Aug 2019 09:48:27 -0700 (PDT) Received: from vanderson-lmcad.gw.lmcad.ic.unicamp.br (gw.lmcad.ic.unicamp.br. [143.106.73.166]) by smtp.googlemail.com with ESMTPSA id g25sm1441024qkk.87.2019.08.29.09.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2019 09:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=trBE4Pt415G810pTzI+AXLcczqBsJRYpVn3faZnlzM8=; b=GCSO46mq6c15ABLizl3xQsHquZ5Ga1dApzRydZweXqbbKxhRQ0Az5n1IvRTWwse8yC gzRYq43ltBJbbd1XLcmTj5YYpXZedVy+dZiERtbzjtuYPZO6gvGNTaOUDpTGNxTvj2OH ERnbkKIHpKYOsCnCb6SyJvCg+tSJBv3wA8KNDoj5Jymg+52CFQ7KBMHX9slkplwSUYH1 0Wtt6LpNat2L5P8umU1Bq3DAF2IOz+equgMOOXEhKqGt59ADkzbvnNEQYjo6muZLsmX9 R7W4M9L9nCwb/KoJejIMYUQZzwDyju4QMtbCChIpbFAUIPbgiRVoSLQVfBRuJSHwuRUh /MKQ== 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=trBE4Pt415G810pTzI+AXLcczqBsJRYpVn3faZnlzM8=; b=WmLByhZHh76Jj9PnqUTJHNYbxcqRnCOaYqG9dR7/yuo3qBnRBv5t5l1LzueZyI0zcV q7DqtkTBSLxYAXkRHBEC/WeK5yqod5ypEt0XKVw7GpbtyLo2I/WL4Rb3R0TNQQ+79JeG Qq0GmOWZWcm+Ih1R+PYOno6BoI0LFP2lDlKx4idS61BFFT1abkjzfguToVXDOUbuIK2L TeH6F/5efrSXzzEvON1uYqCyv3kNybGTelllOwsM7v2Kfus4BkHbvqnz7j20vjcANDwQ s5tl9qw0BGJl+9Fni3bTbV014yWfUQ2gD8pu31AtZRN1I7I1+3a0L4XY2NuSsrnYrmGa iM5g== X-Gm-Message-State: APjAAAXNWWDY1udJ+U9TZryHGIEAGB8RjbB4xrpP6CrwSiGsmJBRPsHE 9N8mgssSpPqn3zDeiUZwX75NB5151bV1/A== X-Google-Smtp-Source: APXvYqy3MXTB1DoDAbzh3Fl0KWrzDlda0jzcoPivskf6UlkUaem1EpWsOQoYutsLbYOjcvEOX9A8hg== X-Received: by 2002:a37:98f:: with SMTP id 137mr10623316qkj.188.1567097307093; Thu, 29 Aug 2019 09:48:27 -0700 (PDT) From: vandersonmr To: qemu-devel@nongnu.org Date: Thu, 29 Aug 2019 13:47:51 -0300 Message-Id: <20190829164754.3906-8-vandersonmr2@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190829164754.3906-1-vandersonmr2@gmail.com> References: <20190829164754.3906-1-vandersonmr2@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::743 Subject: [Qemu-devel] [PATCH v7 07/10] Adding tb_stats [start|pause|stop|filter] command to hmp. 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: vandersonmr , "Dr . David Alan Gilbert" , Markus Armbruster Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" This allows controlling the collection of statistics. It is also possible to set the level of collection: all, jit, or exec. tb_stats filter allow to only collect statistics for the TB in the last_search list. The goal of this command is to allow the dynamic exploration of the TCG behavior and quality. Therefore, for now, a corresponding QMP command is not worthwhile. Acked-by: Dr. David Alan Gilbert Signed-off-by: Vanderson M. do Rosario --- monitor/misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monitor/misc.c b/monitor/misc.c index b389ca09a1..218263d29a 100644 --- a/monitor/misc.c +++ b/monitor/misc.c @@ -74,6 +74,8 @@ #include "sysemu/cpus.h" #include "qemu/cutils.h" #include "tcg/tcg.h" +#include "exec/tb-stats.h" +#include "qemu-common.h" =20 #if defined(TARGET_S390X) #include "hw/s390x/storage-keys.h" --=20 2.22.0