Skip to content

dumping hot TBs

vandersonmr qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 8 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4add and link a statistic struct to TBsaccel/tcg/translate-all.c include/exec/exec-all.h include/exec/tb-context.h +1 more+63 -05 replies
2/4Adding an optional tb execution counter.accel/tcg/tcg-runtime.c accel/tcg/tcg-runtime.h accel/tcg/translator.c +1 more+22 -01 reply
3/4Introduce dump of hot TBsaccel/tcg/translate-all.c include/exec/exec-all.h+47 -01 reply
4/4adding -d hot_tbs:limit command line optioninclude/qemu/log-for-trace.h linux-user/exit.c util/log.c+14 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] dumping hot TBs

It adds a new structure which is linked with each TBs and stores its statistics. We collect the execution count of the TBs and store in this new structure. The information stored in this new struct is then used to support a new command line -d hot_tbs:N which dumps information of the N most hot TBs.

Different from v1 now the execution count is being updated directly from the TBStatistics so we do not need to copy the data when flushing.

[PATCH v2 1/4] add and link a statistic struct to TBs [PATCH v2 2/4] Adding an optional tb execution counter. [PATCH v2 3/4] Introduce dump of hot TBs
[PATCH v2 4/4] adding -d hot_tbs:limit command line option