Based-on: 20231211212003.21686-1-phi...@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-...@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%) -- 2.43.0