qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fei Wu <fei2.wu@intel.com>
To: richard.henderson@linaro.org, alex.bennee@linaro.org,
	qemu-devel@nongnu.org
Cc: Fei Wu <fei2.wu@intel.com>
Subject: [PATCH v16 0/9] TCG code quality tracking
Date: Wed, 28 Jun 2023 20:04:21 +0800	[thread overview]
Message-ID: <20230628120430.73777-1-fei2.wu@intel.com> (raw)

v16
--
* rebase to latest commit 4329d049d (Jun 26)
* original patch 1 (remove CONFIG_PROFILER) has already upstreamed so is
  removed from here
* add async_safe_run_on_cpu back for info tb-list/tb
* add ram_addr support to monitor_disas and use it to disassemble guest code
* update the commit logs and documents
* small change to do_hmp_tbstats_safe() to avoid memory leaking


Alex Bennée (1):
  tb-stats: reset the tracked TBs on a tb_flush

Fei Wu (4):
  accel/tcg: add jit stats to TBStatistics
  debug: add -d tb_stats to control TBStatistics
  tb-stats: dump hot TBs at the end of the execution
  docs: add tb-stats how to

Vanderson M. do Rosario (4):
  accel/tcg: introduce TBStatistics structure
  accel: collecting TB execution count
  monitor: adding tb_stats hmp command
  tb-stats: Adding info [tb-list|tb] commands to HMP

 MAINTAINERS                      |   1 +
 accel/tcg/cpu-exec.c             |   6 +
 accel/tcg/meson.build            |   1 +
 accel/tcg/monitor.c              | 216 ++++++++++++++++++
 accel/tcg/tb-context.h           |   1 +
 accel/tcg/tb-hash.h              |   7 +
 accel/tcg/tb-maint.c             |  20 ++
 accel/tcg/tb-stats.c             | 366 +++++++++++++++++++++++++++++++
 accel/tcg/tcg-runtime.c          |   1 +
 accel/tcg/translate-all.c        |  77 ++++++-
 accel/tcg/translator.c           |  31 +++
 disas/disas-mon.c                |  15 +-
 disas/disas.c                    |   2 +
 docs/devel/index-tcg.rst         |   1 +
 docs/devel/tcg-tbstats.rst       | 126 +++++++++++
 hmp-commands-info.hx             |  16 ++
 hmp-commands.hx                  |  16 ++
 include/disas/disas.h            |   8 +-
 include/exec/tb-stats-dump.h     |  21 ++
 include/exec/tb-stats-flags.h    |  29 +++
 include/exec/tb-stats.h          | 130 +++++++++++
 include/exec/translation-block.h |   3 +
 include/monitor/hmp.h            |   3 +
 include/qemu/log.h               |   1 +
 include/tcg/tcg-temp-internal.h  |   2 +
 include/tcg/tcg.h                |  10 +
 linux-user/exit.c                |   2 +
 monitor/hmp-cmds-target.c        |   3 +-
 softmmu/runstate.c               |   2 +
 stubs/meson.build                |   1 +
 stubs/tb-stats.c                 |  36 +++
 tcg/tcg.c                        |  47 +++-
 util/log.c                       |  26 +++
 33 files changed, 1217 insertions(+), 10 deletions(-)
 create mode 100644 accel/tcg/tb-stats.c
 create mode 100644 docs/devel/tcg-tbstats.rst
 create mode 100644 include/exec/tb-stats-dump.h
 create mode 100644 include/exec/tb-stats-flags.h
 create mode 100644 include/exec/tb-stats.h
 create mode 100644 stubs/tb-stats.c

-- 
2.25.1



             reply	other threads:[~2023-06-28 12:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-28 12:04 Fei Wu [this message]
2023-06-28 12:04 ` [PATCH v16 1/9] accel/tcg: introduce TBStatistics structure Fei Wu
2023-06-28 12:04 ` [PATCH v16 2/9] accel: collecting TB execution count Fei Wu
2023-06-28 12:04 ` [PATCH v16 3/9] accel/tcg: add jit stats to TBStatistics Fei Wu
2023-06-28 12:04 ` [PATCH v16 4/9] monitor: adding tb_stats hmp command Fei Wu
2023-06-28 12:04 ` [PATCH v16 5/9] tb-stats: reset the tracked TBs on a tb_flush Fei Wu
2023-06-28 12:04 ` [PATCH v16 6/9] tb-stats: Adding info [tb-list|tb] commands to HMP Fei Wu
2023-06-28 12:04 ` [PATCH v16 7/9] debug: add -d tb_stats to control TBStatistics Fei Wu
2023-06-28 12:04 ` [PATCH v16 8/9] tb-stats: dump hot TBs at the end of the execution Fei Wu
2023-06-28 12:04 ` [PATCH v16 9/9] docs: add tb-stats how to Fei Wu
2023-07-03 11:21 ` [PATCH v16 0/9] TCG code quality tracking Wu, Fei

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=20230628120430.73777-1-fei2.wu@intel.com \
    --to=fei2.wu@intel.com \
    --cc=alex.bennee@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.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).