qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v12 00/15] TCG code quality tracking
@ 2023-05-18 13:57 Fei Wu
  2023-05-18 13:57 ` [PATCH v12 01/15] accel/tcg: introduce TBStatistics structure Fei Wu
                   ` (14 more replies)
  0 siblings, 15 replies; 28+ messages in thread
From: Fei Wu @ 2023-05-18 13:57 UTC (permalink / raw)
  To: qemu-devel, richard.henderson, alex.bennee, fei2.wu

v12
---
* fix some CI issues, including make do-meson-check and build
* move part of patch 9 to 1
* fix inverse_sort_tbs
* use normal ++ instead of qatomic_inc for stats->executions.normal
* add how to for tb-stats
* append Fei Wu to Signed-off-by


Alex Bennée (5):
  accel/tcg: move profiler dev_time to tb_stats
  accel/tcg: convert profiling of restore operations to TBStats
  accel/tcg: convert profiling of code generation to TBStats
  tb-stats: reset the tracked TBs on a tb_flush
  configure: remove the final bits of --profiler support

Fei Wu (1):
  docs/tb-stats: add how to

Vanderson M. do Rosario (9):
  accel/tcg: introduce TBStatistics structure
  accel: collecting TB execution count
  accel: collecting JIT statistics
  accel: replacing part of CONFIG_PROFILER with TBStats
  accel: adding TB_JIT_TIME and full replacing CONFIG_PROFILER
  debug: add -d tb_stats to control TBStatistics collection:
  monitor: adding tb_stats hmp command
  Adding info [tb-list|tb] commands to HMP (WIP)
  tb-stats: dump hot TBs at the end of the execution

 MAINTAINERS                   |   1 +
 accel/tcg/cpu-exec.c          |   6 +
 accel/tcg/meson.build         |   1 +
 accel/tcg/monitor.c           | 122 +++++-
 accel/tcg/tb-context.h        |   1 +
 accel/tcg/tb-hash.h           |   7 +
 accel/tcg/tb-maint.c          |  20 +
 accel/tcg/tb-stats.c          | 689 ++++++++++++++++++++++++++++++++++
 accel/tcg/tcg-accel-ops.c     |  15 +-
 accel/tcg/tcg-runtime.c       |   8 +
 accel/tcg/tcg-runtime.h       |   1 +
 accel/tcg/translate-all.c     | 147 ++++++--
 accel/tcg/translator.c        |  13 +
 disas/disas.c                 |  24 +-
 docs/tb-stats.txt             | 116 ++++++
 hmp-commands-info.hx          |  16 +
 hmp-commands.hx               |  16 +
 include/exec/exec-all.h       |   3 +
 include/exec/gen-icount.h     |   2 +
 include/exec/tb-stats-dump.h  |  21 ++
 include/exec/tb-stats-flags.h |  33 ++
 include/exec/tb-stats.h       | 164 ++++++++
 include/monitor/hmp.h         |   3 +
 include/qemu/log-for-trace.h  |   6 +-
 include/qemu/log.h            |   3 +
 include/qemu/timer.h          |   5 +-
 include/tcg/tcg.h             |  50 ++-
 linux-user/exit.c             |   2 +
 meson.build                   |   2 -
 meson_options.txt             |   2 -
 scripts/meson-buildoptions.sh |   3 -
 softmmu/runstate.c            |  10 +-
 stubs/meson.build             |   1 +
 stubs/tb-stats.c              |  32 ++
 tcg/tcg.c                     | 224 +++--------
 tests/qtest/qmp-cmd-test.c    |   2 +-
 util/log.c                    | 103 ++++-
 37 files changed, 1590 insertions(+), 284 deletions(-)
 create mode 100644 accel/tcg/tb-stats.c
 create mode 100644 docs/tb-stats.txt
 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



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2023-05-25 14:01 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-18 13:57 [PATCH v12 00/15] TCG code quality tracking Fei Wu
2023-05-18 13:57 ` [PATCH v12 01/15] accel/tcg: introduce TBStatistics structure Fei Wu
2023-05-18 14:16   ` Wu, Fei
2023-05-18 13:57 ` [PATCH v12 02/15] accel: collecting TB execution count Fei Wu
2023-05-23  0:45   ` Richard Henderson
2023-05-23  1:48     ` Wu, Fei
2023-05-23 13:08     ` Wu, Fei
2023-05-24 13:35     ` Wu, Fei
2023-05-24 17:02       ` Richard Henderson
2023-05-25  0:45         ` Wu, Fei
2023-05-25 13:27         ` Wu, Fei
2023-05-18 13:57 ` [PATCH v12 03/15] accel: collecting JIT statistics Fei Wu
2023-05-18 13:57 ` [PATCH v12 04/15] accel: replacing part of CONFIG_PROFILER with TBStats Fei Wu
2023-05-18 13:57 ` [PATCH v12 05/15] accel/tcg: move profiler dev_time to tb_stats Fei Wu
2023-05-18 13:57 ` [PATCH v12 06/15] accel/tcg: convert profiling of restore operations to TBStats Fei Wu
2023-05-18 13:57 ` [PATCH v12 07/15] accel/tcg: convert profiling of code generation " Fei Wu
2023-05-18 13:57 ` [PATCH v12 08/15] accel: adding TB_JIT_TIME and full replacing CONFIG_PROFILER Fei Wu
2023-05-18 13:57 ` [PATCH v12 09/15] debug: add -d tb_stats to control TBStatistics collection: Fei Wu
2023-05-18 13:57 ` [PATCH v12 10/15] monitor: adding tb_stats hmp command Fei Wu
2023-05-18 14:11   ` Wu, Fei
2023-05-18 13:57 ` [PATCH v12 11/15] tb-stats: reset the tracked TBs on a tb_flush Fei Wu
2023-05-18 13:57 ` [PATCH v12 12/15] Adding info [tb-list|tb] commands to HMP (WIP) Fei Wu
2023-05-18 14:30   ` Wu, Fei
2023-05-18 13:57 ` [PATCH v12 13/15] tb-stats: dump hot TBs at the end of the execution Fei Wu
2023-05-18 13:57 ` [PATCH v12 14/15] configure: remove the final bits of --profiler support Fei Wu
2023-05-18 13:57 ` [PATCH v12 15/15] docs/tb-stats: add how to Fei Wu
2023-05-22 10:25   ` Thomas Huth
2023-05-22 12:51     ` Wu, Fei

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).