[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v13 00/10] TCG code quality tracking
|
From: |
Fei Wu |
|
Subject: |
[PATCH v13 00/10] TCG code quality tracking |
|
Date: |
Mon, 29 May 2023 19:49:37 +0800 |
v12
---
* remove CONFIG_PROFILER completely at the first
* squash original patches 3-8 into one
* use Richard's inline version gen_tb_exec_count
* convert how-to to rst format as suggested by Thomas
* small change to patch 6 of hmp command
Alex Bennée (1):
tb-stats: reset the tracked TBs on a tb_flush
Fei Wu (3):
accel/tcg: remove CONFIG_PROFILER
accel/tcg: add jit stats and time to TBStatistics
docs: add tb-stats how to
Vanderson M. do Rosario (6):
accel/tcg: introduce TBStatistics structure
accel: collecting TB execution count
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 | 692 ++++++++++++++++++++++++++++++++++
accel/tcg/tcg-accel-ops.c | 15 +-
accel/tcg/tcg-runtime.c | 1 +
accel/tcg/translate-all.c | 147 ++++++--
accel/tcg/translator.c | 28 ++
disas/disas.c | 26 +-
docs/devel/tcg-tbstats.rst | 129 +++++++
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 | 34 ++
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 ++++-
36 files changed, 1614 insertions(+), 286 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
- [PATCH v13 00/10] TCG code quality tracking,
Fei Wu <=
- [PATCH v13 01/10] accel/tcg: remove CONFIG_PROFILER, Fei Wu, 2023/05/29
- [PATCH v13 02/10] accel/tcg: introduce TBStatistics structure, Fei Wu, 2023/05/29
- [PATCH v13 03/10] accel: collecting TB execution count, Fei Wu, 2023/05/29
- [PATCH v13 04/10] accel/tcg: add jit stats and time to TBStatistics, Fei Wu, 2023/05/29
- Re: [PATCH v13 04/10] accel/tcg: add jit stats and time to TBStatistics, Richard Henderson, 2023/05/30
- Re: [PATCH v13 04/10] accel/tcg: add jit stats and time to TBStatistics, Wu, Fei, 2023/05/30
- Re: [PATCH v13 04/10] accel/tcg: add jit stats and time to TBStatistics, Wu, Fei, 2023/05/30
- Re: [PATCH v13 04/10] accel/tcg: add jit stats and time to TBStatistics, Alex Bennée, 2023/05/30
- Re: [PATCH v13 04/10] accel/tcg: add jit stats and time to TBStatistics, Wu, Fei, 2023/05/30