From: vandersonmr <vandersonmr2@gmail.com>
To: qemu-devel@nongnu.org
Cc: vandersonmr <vandersonmr2@gmail.com>,
"Dr . David Alan Gilbert" <dgilbert@redhat.com>,
Markus Armbruster <armbru@redhat.com>
Subject: [Qemu-devel] [PATCH v7 07/10] Adding tb_stats [start|pause|stop|filter] command to hmp.
Date: Thu, 29 Aug 2019 13:47:51 -0300 [thread overview]
Message-ID: <20190829164754.3906-8-vandersonmr2@gmail.com> (raw)
In-Reply-To: <20190829164754.3906-1-vandersonmr2@gmail.com>
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 <dgilbert@redhat.com>
Signed-off-by: Vanderson M. do Rosario <vandersonmr2@gmail.com>
---
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"
#if defined(TARGET_S390X)
#include "hw/s390x/storage-keys.h"
--
2.22.0
next prev parent reply other threads:[~2019-08-29 16:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-29 16:47 [Qemu-devel] [PATCH v7 00/10] Measure Tiny Code Generation Quality vandersonmr
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 01/10] accel: collecting TB execution count vandersonmr
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 02/10] accel: collecting JIT statistics vandersonmr
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 03/10] accel: replacing part of CONFIG_PROFILER with TBStats vandersonmr
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 04/10] accel: adding TB_JIT_TIME and full replacing CONFIG_PROFILER vandersonmr
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 05/10] Adding -d tb_stats to control TBStatistics collection: vandersonmr
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 06/10] monitor: adding tb_stats hmp command vandersonmr
2019-08-29 16:47 ` vandersonmr [this message]
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 08/10] Adding info [tb-list|tb|coverset] commands to HMP vandersonmr
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 09/10] monitor: adding new info cfg command vandersonmr
2019-08-29 16:47 ` [Qemu-devel] [PATCH v7 10/10] linux-user: dumping hot TBs at the end of the execution vandersonmr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190829164754.3906-8-vandersonmr2@gmail.com \
--to=vandersonmr2@gmail.com \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).