mbox series

[v4,0/4] accel/tcg: Move perf and debuginfo support to tcg

Message ID 20231212003837.64090-1-iii@linux.ibm.com (mailing list archive)
Headers show
Series accel/tcg: Move perf and debuginfo support to tcg | expand

Message

Ilya Leoshkevich Dec. 12, 2023, 12:34 a.m. UTC
Based-on: 20231211212003.21686-1-philmd@linaro.org

v3 -> v4: Rebase on top of Philippe's series.
          Move perf.h and debuginfo.h (Richard).

v2: https://patchew.org/QEMU/20230630234230.596193-1-iii@linux.ibm.com/
v2 -> v3: Rebased.
          This series was lost and forgotten until Philippe reminded me
          about it.

v1: https://lists.gnu.org/archive/html/qemu-devel/2023-06/msg07037.html
v1 -> v2: Move qemu_target_page_mask() hunk to patch 1.
          Fix typos.

Hi,

This series is a follow-up to discussion in [1]; the goal is to build
perf and debuginfo support only one time.

Best regards,
Ilya

[1] https://lists.gnu.org/archive/html/qemu-devel/2023-06/msg06510.html

Ilya Leoshkevich (4):
  accel/tcg: Make use of qemu_target_page_mask() in perf.c
  tcg: Make tb_cflags() usable from target-agnostic code
  accel/tcg: Remove #ifdef TARGET_I386 from perf.c
  accel/tcg: Move perf and debuginfo support to tcg

 accel/tcg/meson.build              |  2 --
 accel/tcg/translate-all.c          |  2 +-
 hw/core/loader.c                   |  2 +-
 include/exec/exec-all.h            |  6 ------
 include/exec/translation-block.h   |  6 ++++++
 {accel => include}/tcg/debuginfo.h |  4 ++--
 {accel => include}/tcg/perf.h      |  4 ++--
 linux-user/elfload.c               |  2 +-
 linux-user/exit.c                  |  2 +-
 linux-user/main.c                  |  2 +-
 system/vl.c                        |  2 +-
 {accel/tcg => tcg}/debuginfo.c     |  3 +--
 tcg/meson.build                    |  3 +++
 {accel/tcg => tcg}/perf.c          | 14 +++++---------
 tcg/tcg.c                          |  2 +-
 15 files changed, 26 insertions(+), 30 deletions(-)
 rename {accel => include}/tcg/debuginfo.h (96%)
 rename {accel => include}/tcg/perf.h (95%)
 rename {accel/tcg => tcg}/debuginfo.c (98%)
 rename {accel/tcg => tcg}/perf.c (97%)

Comments

Philippe Mathieu-Daudé Jan. 17, 2024, 8:30 a.m. UTC | #1
Hi Ilya,

On 12/12/23 01:34, Ilya Leoshkevich wrote:
> Based-on: 20231211212003.21686-1-philmd@linaro.org

> Ilya Leoshkevich (4):
>    accel/tcg: Make use of qemu_target_page_mask() in perf.c
>    tcg: Make tb_cflags() usable from target-agnostic code
>    accel/tcg: Remove #ifdef TARGET_I386 from perf.c
>    accel/tcg: Move perf and debuginfo support to tcg

I'm queuing your series as part of my accel/tcg/ rework,
and will post a PR during the 9.0 dev cycle.

Thanks!

Phil.